Наследование: System.Data.Objects.DataClasses.EntityObject
 /// <summary>
 /// Create a new Rule object.
 /// </summary>
 /// <param name="ruleId">Initial value of the RuleId property.</param>
 /// <param name="methodName">Initial value of the MethodName property.</param>
 /// <param name="className">Initial value of the ClassName property.</param>
 public static Rule CreateRule(global::System.Int32 ruleId, global::System.String methodName, global::System.String className)
 {
     Rule rule = new Rule();
     rule.RuleId = ruleId;
     rule.MethodName = methodName;
     rule.ClassName = className;
     return rule;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Rules EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRules(Rule rule)
 {
     base.AddObject("Rules", rule);
 }