Esempio n. 1
0
 /// <summary>
 /// Create a new Address object.
 /// </summary>
 /// <param name="addressID">Initial value of the addressID property.</param>
 /// <param name="addressType">Initial value of the AddressType property.</param>
 /// <param name="contactID">Initial value of the ContactID property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static Address CreateAddress(global::System.Int32 addressID, global::System.String addressType, global::System.Int32 contactID, global::System.DateTime modifiedDate)
 {
     Address address = new Address();
     address.addressID = addressID;
     address.AddressType = addressType;
     address.ContactID = contactID;
     address.ModifiedDate = modifiedDate;
     return address;
 }
Esempio n. 2
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(Address address)
 {
     base.AddObject("Addresses", address);
 }