Inheritance: global::System.Data.Objects.DataClasses.ComplexObject
 /// <summary>
 /// Create a new Company object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 public static Company CreateCompany(global::System.Int32 id, global::System.String name, CommonAddress address)
 {
     Company company = new Company();
     company.Id = id;
     company.Name = name;
     company.Address = StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return company;
 }
 partial void OnAddressChanging(CommonAddress value);