Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Addresses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAddresses(Addresses addresses)
 {
     base.AddObject("Addresses", addresses);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new Addresses object.
 /// </summary>
 /// <param name="addressID">Initial value of the AddressID property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Addresses CreateAddresses(global::System.Int32 addressID, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     Addresses addresses = new Addresses();
     addresses.AddressID = addressID;
     addresses.AddDate = addDate;
     addresses.RowVersion = rowVersion;
     return addresses;
 }