CapRaffle.PopulateDatabase.CapRaffleContext.AddToRuleSets C# (CSharp) Method

AddToRuleSets() public method

Deprecated Method for adding a new object to the RuleSets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToRuleSets ( RuleSet ruleSet ) : void
ruleSet RuleSet
return void
        public void AddToRuleSets(RuleSet ruleSet)
        {
            base.AddObject("RuleSets", ruleSet);
        }