/// <summary>
 /// Create a new Address object.
 /// </summary>
 /// <param name="addressId">Initial value of the AddressId property.</param>
 /// <param name="contactId">Initial value of the ContactId property.</param>
 /// <param name="address1">Initial value of the Address1 property.</param>
 /// <param name="address2">Initial value of the Address2 property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="state">Initial value of the State property.</param>
 /// <param name="zipCode">Initial value of the ZipCode property.</param>
 public static Address CreateAddress(global::System.Int32 addressId, global::System.Int32 contactId, global::System.String address1, global::System.String address2, global::System.String city, global::System.String state, global::System.String zipCode)
 {
     Address address = new Address();
     address.AddressId = addressId;
     address.ContactId = contactId;
     address.Address1 = address1;
     address.Address2 = address2;
     address.City = city;
     address.State = state;
     address.ZipCode = zipCode;
     return address;
 }
 /// <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);
 }