/// <summary>
 /// Create a new Customer object.
 /// </summary>
 /// <param name="ID">Initial value of ID.</param>
 /// <param name="address">Initial value of Address.</param>
 public static Customer CreateCustomer(int ID, Address address)
 {
     Customer customer = new Customer();
     customer.ID = ID;
     customer.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return customer;
 }
 /// <summary>
 /// Create a new CustomerWithBirthday object.
 /// </summary>
 /// <param name="ID">Initial value of ID.</param>
 /// <param name="address">Initial value of Address.</param>
 public static CustomerWithBirthday CreateCustomerWithBirthday(int ID, Address address)
 {
     CustomerWithBirthday customerWithBirthday = new CustomerWithBirthday();
     customerWithBirthday.ID = ID;
     customerWithBirthday.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return customerWithBirthday;
 }
 partial void OnAddressChanging(Address value);