Inheritance: System.Data.Objects.DataClasses.EntityObject
 /// <summary>
 /// Deprecated Method for adding a new object to the RuleSets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRuleSets(RuleSet ruleSet)
 {
     base.AddObject("RuleSets", ruleSet);
 }
 /// <summary>
 /// Create a new RuleSet object.
 /// </summary>
 /// <param name="ruleSetId">Initial value of the RuleSetId property.</param>
 /// <param name="ruleId">Initial value of the RuleId property.</param>
 /// <param name="priority">Initial value of the Priority property.</param>
 public static RuleSet CreateRuleSet(global::System.Int32 ruleSetId, global::System.Int32 ruleId, global::System.Int32 priority)
 {
     RuleSet ruleSet = new RuleSet();
     ruleSet.RuleSetId = ruleSetId;
     ruleSet.RuleId = ruleId;
     ruleSet.Priority = priority;
     return ruleSet;
 }