/// <summary>
 /// Create a new address object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="memberId">Initial value of the MemberId property.</param>
 /// <param name="street">Initial value of the Street property.</param>
 /// <param name="surburb">Initial value of the Surburb property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="addressTypeId">Initial value of the AddressTypeId property.</param>
 /// <param name="postalCode">Initial value of the PostalCode property.</param>
 public static address Createaddress(global::System.Int32 id, global::System.Int32 memberId, global::System.String street, global::System.String surburb, global::System.String city, global::System.Int32 addressTypeId, global::System.String postalCode)
 {
     address address = new address();
     address.Id = id;
     address.MemberId = memberId;
     address.Street = street;
     address.Surburb = surburb;
     address.City = city;
     address.AddressTypeId = addressTypeId;
     address.PostalCode = postalCode;
     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);
 }