/// <summary> /// Create a new EpmCustomer object. /// </summary> /// <param name="id">Initial value of ID.</param> /// <param name="address">Initial value of Address.</param> public static EpmCustomer CreateEpmCustomer(int id, EpmAddress address) { EpmCustomer epmCustomer = new EpmCustomer(); epmCustomer.ID = id; epmCustomer.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address"); return epmCustomer; }
/// <summary> /// Create a new EpmCustomerWithBirthday object. /// </summary> /// <param name="id">Initial value of ID.</param> /// <param name="address">Initial value of Address.</param> public static EpmCustomerWithBirthday CreateEpmCustomerWithBirthday(int id, EpmAddress address) { EpmCustomerWithBirthday epmCustomerWithBirthday = new EpmCustomerWithBirthday(); epmCustomerWithBirthday.ID = id; epmCustomerWithBirthday.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address"); return(epmCustomerWithBirthday); }
/// <summary> /// Create a new EpmCustomer object. /// </summary> /// <param name="id">Initial value of ID.</param> /// <param name="address">Initial value of Address.</param> public static EpmCustomer CreateEpmCustomer(int id, EpmAddress address) { EpmCustomer epmCustomer = new EpmCustomer(); epmCustomer.ID = id; epmCustomer.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address"); return(epmCustomer); }
/// <summary> /// Create a new EpmCustomerWithBirthday object. /// </summary> /// <param name="id">Initial value of ID.</param> /// <param name="address">Initial value of Address.</param> public static EpmCustomerWithBirthday CreateEpmCustomerWithBirthday(int id, EpmAddress address) { EpmCustomerWithBirthday epmCustomerWithBirthday = new EpmCustomerWithBirthday(); epmCustomerWithBirthday.ID = id; epmCustomerWithBirthday.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address"); return epmCustomerWithBirthday; }
partial void OnAddressChanging(EpmAddress value);