Esempio n. 1
0
 /// <summary>
 /// Create a new Party object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 public static Party CreateParty(global::System.Guid id, global::System.DateTime createdDate)
 {
     Party party = new Party();
     party.Id = id;
     party.CreatedDate = createdDate;
     return party;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Parties EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToParties(Party party)
 {
     base.AddObject("Parties", party);
 }