/// <summary> /// Deprecated Method for adding a new object to the SIPDialPlans EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSIPDialPlans(SIPDialPlan sIPDialPlan) { base.AddObject("SIPDialPlans", sIPDialPlan); }
/// <summary> /// Create a new SIPDialPlan object. /// </summary> /// <param name="dialPlanName">Initial value of the DialPlanName property.</param> /// <param name="executionCount">Initial value of the ExecutionCount property.</param> /// <param name="id">Initial value of the ID property.</param> /// <param name="inserted">Initial value of the Inserted property.</param> /// <param name="lastUpdate">Initial value of the LastUpdate property.</param> /// <param name="maxExecutionCount">Initial value of the MaxExecutionCount property.</param> /// <param name="owner">Initial value of the Owner property.</param> /// <param name="scriptTypeDescription">Initial value of the ScriptTypeDescription property.</param> /// <param name="acceptNonInvite">Initial value of the AcceptNonInvite property.</param> public static SIPDialPlan CreateSIPDialPlan(global::System.String dialPlanName, global::System.Int32 executionCount, global::System.String id, global::System.String inserted, global::System.String lastUpdate, global::System.Int32 maxExecutionCount, global::System.String owner, global::System.String scriptTypeDescription, global::System.Boolean acceptNonInvite) { SIPDialPlan sIPDialPlan = new SIPDialPlan(); sIPDialPlan.DialPlanName = dialPlanName; sIPDialPlan.ExecutionCount = executionCount; sIPDialPlan.ID = id; sIPDialPlan.Inserted = inserted; sIPDialPlan.LastUpdate = lastUpdate; sIPDialPlan.MaxExecutionCount = maxExecutionCount; sIPDialPlan.Owner = owner; sIPDialPlan.ScriptTypeDescription = scriptTypeDescription; sIPDialPlan.AcceptNonInvite = acceptNonInvite; return sIPDialPlan; }