partial void OnAddressChanging(CustomerAddress value);
 /// <summary>
 /// 创建新的 Customer 对象。
 /// </summary>
 /// <param name="customerID">CustomerID 属性的初始值。</param>
 /// <param name="companyName">CompanyName 属性的初始值。</param>
 /// <param name="address">Address 属性的初始值。</param>
 public static Customer CreateCustomer(global::System.String customerID, global::System.String companyName, CustomerAddress address)
 {
     Customer customer = new Customer();
     customer.CustomerID = customerID;
     customer.CompanyName = companyName;
     customer.Address = StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return customer;
 }