/// <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 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); }