/// <summary> /// Deprecated Method for adding a new object to the Party EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToParty(Party party) { base.AddObject("Party", party); }
/// <summary> /// Create a new Party object. /// </summary> /// <param name="partyId">Initial value of the PartyId property.</param> public static Party CreateParty(global::System.Int32 partyId) { Party party = new Party(); party.PartyId = partyId; return party; }