/// <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;
 }
示例#2
0
        /// <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);
        }