/// <summary>
 /// Create a new Address object.
 /// </summary>
 /// <param name="addressId">Initial value of the AddressId property.</param>
 /// <param name="addressLine1">Initial value of the AddressLine1 property.</param>
 /// <param name="postalCode">Initial value of the PostalCode property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="phone">Initial value of the Phone property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 public static Address CreateAddress(global::System.Int32 addressId, global::System.String addressLine1, global::System.String postalCode, global::System.String city, global::System.String phone, global::System.String email, global::System.Byte[] version)
 {
     Address address = new Address();
     address.AddressId = addressId;
     address.AddressLine1 = addressLine1;
     address.PostalCode = postalCode;
     address.City = city;
     address.Phone = phone;
     address.Email = email;
     address.Version = version;
     return address;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the AddressSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAddressSet(Address address)
 {
     base.AddObject("AddressSet", address);
 }