/// <summary> /// Deprecated Method for adding a new object to the Parties EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToParties(Party party) { base.AddObject("Parties", party); }
/// <summary> /// Create a new Party object. /// </summary> /// <param name="charNo">Initial value of the CharNo property.</param> /// <param name="masterNo">Initial value of the MasterNo property.</param> /// <param name="partyNo">Initial value of the PartyNo property.</param> /// <param name="partyGroup">Initial value of the PartyGroup property.</param> public static Party CreateParty(global::System.Int32 charNo, global::System.Int32 masterNo, global::System.Int32 partyNo, global::System.Int32 partyGroup) { Party party = new Party(); party.CharNo = charNo; party.MasterNo = masterNo; party.PartyNo = partyNo; party.PartyGroup = partyGroup; return party; }