partial void OnAddressChanging(CommonAddress value);
 /// <summary>
 /// Create a new Company object.
 /// </summary>
 /// <param name="id">Initial value of Id.</param>
 /// <param name="name">Initial value of Name.</param>
 /// <param name="address">Initial value of Address.</param>
 public static Company CreateCompany(int id, string name, CommonAddress address)
 {
     Company company = new Company();
     company.Id = id;
     company.Name = name;
     company.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return company;
 }
 /// <summary>
 /// Create a new Customer object.
 /// </summary>
 /// <param name="customerID">Initial value of CustomerID.</param>
 /// <param name="companyName">Initial value of CompanyName.</param>
 /// <param name="address">Initial value of Address.</param>
 public static Customer CreateCustomer(string customerID, string companyName, CommonAddress address)
 {
     Customer customer = new Customer();
     customer.CustomerID = customerID;
     customer.CompanyName = companyName;
     customer.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return customer;
 }
 /// <summary>
 /// Create a new CurrentEmployee object.
 /// </summary>
 /// <param name="employeeID">Initial value of EmployeeID.</param>
 /// <param name="lastName">Initial value of LastName.</param>
 /// <param name="firstName">Initial value of FirstName.</param>
 /// <param name="address">Initial value of Address.</param>
 public static CurrentEmployee CreateCurrentEmployee(int employeeID, string lastName, string firstName, CommonAddress address)
 {
     CurrentEmployee currentEmployee = new CurrentEmployee();
     currentEmployee.EmployeeID = employeeID;
     currentEmployee.LastName = lastName;
     currentEmployee.FirstName = firstName;
     currentEmployee.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return currentEmployee;
 }
 /// <summary>
 /// Create a new Supplier object.
 /// </summary>
 /// <param name="supplierID">Initial value of SupplierID.</param>
 /// <param name="companyName">Initial value of CompanyName.</param>
 /// <param name="address">Initial value of Address.</param>
 public static Supplier CreateSupplier(int supplierID, string companyName, CommonAddress address)
 {
     Supplier supplier = new Supplier();
     supplier.SupplierID = supplierID;
     supplier.CompanyName = companyName;
     supplier.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return supplier;
 }
 /// <summary>
 /// Create a new PreviousEmployee object.
 /// </summary>
 /// <param name="employeeID">Initial value of EmployeeID.</param>
 /// <param name="lastName">Initial value of LastName.</param>
 /// <param name="firstName">Initial value of FirstName.</param>
 /// <param name="address">Initial value of Address.</param>
 public static PreviousEmployee CreatePreviousEmployee(int employeeID, string lastName, string firstName, CommonAddress address)
 {
     PreviousEmployee previousEmployee = new PreviousEmployee();
     previousEmployee.EmployeeID = employeeID;
     previousEmployee.LastName = lastName;
     previousEmployee.FirstName = firstName;
     previousEmployee.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return previousEmployee;
 }