/// <summary> /// Deprecated Method for adding a new object to the wsPlans EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTowsPlans(wsPlan wsPlan) { base.AddObject("wsPlans", wsPlan); }
/// <summary> /// Create a new wsPlan object. /// </summary> /// <param name="plan_id">Initial value of the plan_id property.</param> /// <param name="plan_name">Initial value of the plan_name property.</param> /// <param name="type_id">Initial value of the type_id property.</param> /// <param name="limit">Initial value of the limit property.</param> /// <param name="active">Initial value of the active property.</param> public static wsPlan CreatewsPlan(global::System.Int32 plan_id, global::System.String plan_name, global::System.Int16 type_id, global::System.Decimal limit, global::System.Boolean active) { wsPlan wsPlan = new wsPlan(); wsPlan.plan_id = plan_id; wsPlan.plan_name = plan_name; wsPlan.type_id = type_id; wsPlan.limit = limit; wsPlan.active = active; return wsPlan; }