/// <summary> /// Create a new BusinessRule object. /// </summary> /// <param name="businessRuleID">Initial value of the BusinessRuleID property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static BusinessRule CreateBusinessRule(global::System.Int32 businessRuleID, global::System.Boolean isActive) { BusinessRule businessRule = new BusinessRule(); businessRule.BusinessRuleID = businessRuleID; businessRule.IsActive = isActive; return businessRule; }
/// <summary> /// Deprecated Method for adding a new object to the BusinessRules EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBusinessRules(BusinessRule businessRule) { base.AddObject("BusinessRules", businessRule); }