/// <summary> /// Create a new PolicySubLimit object. /// </summary> /// <param name="policySublimitID">Initial value of the PolicySublimitID property.</param> /// <param name="policyID">Initial value of the PolicyID property.</param> /// <param name="limitType">Initial value of the LimitType property.</param> public static PolicySubLimit CreatePolicySubLimit(global::System.Int32 policySublimitID, global::System.Int32 policyID, global::System.Int32 limitType) { PolicySubLimit policySubLimit = new PolicySubLimit(); policySubLimit.PolicySublimitID = policySublimitID; policySubLimit.PolicyID = policyID; policySubLimit.LimitType = limitType; return policySubLimit; }
/// <summary> /// Deprecated Method for adding a new object to the PolicySubLimits EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPolicySubLimits(PolicySubLimit policySubLimit) { base.AddObject("PolicySubLimits", policySubLimit); }