/// <summary> /// Deprecated Method for adding a new object to the wsPlanTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTowsPlanTypes(wsPlanType wsPlanType) { base.AddObject("wsPlanTypes", wsPlanType); }
/// <summary> /// Create a new wsPlanType object. /// </summary> /// <param name="type_id">Initial value of the type_id property.</param> /// <param name="type_name">Initial value of the type_name property.</param> /// <param name="active">Initial value of the active property.</param> /// <param name="sort_Order">Initial value of the sort_Order property.</param> public static wsPlanType CreatewsPlanType(global::System.Int16 type_id, global::System.String type_name, global::System.Boolean active, global::System.Int16 sort_Order) { wsPlanType wsPlanType = new wsPlanType(); wsPlanType.type_id = type_id; wsPlanType.type_name = type_name; wsPlanType.active = active; wsPlanType.sort_Order = sort_Order; return wsPlanType; }