Inheritance: System.Data.Objects.DataClasses.EntityObject
示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Party EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToParty(Party party)
 {
     base.AddObject("Party", party);
 }
示例#2
0
 /// <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;
 }