Esempio n. 1
0
        /// <summary>
        /// Create a new CustomerWithBirthday object.
        /// </summary>
        /// <param name="ID">Initial value of ID.</param>
        /// <param name="address">Initial value of Address.</param>
        public static CustomerWithBirthday CreateCustomerWithBirthday(int ID, Address address)
        {
            CustomerWithBirthday customerWithBirthday = new CustomerWithBirthday();

            customerWithBirthday.ID      = ID;
            customerWithBirthday.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
            return(customerWithBirthday);
        }
 /// <summary>
 /// Create a new CustomerWithBirthday object.
 /// </summary>
 /// <param name="ID">Initial value of ID.</param>
 /// <param name="address">Initial value of Address.</param>
 public static CustomerWithBirthday CreateCustomerWithBirthday(int ID, Address address)
 {
     CustomerWithBirthday customerWithBirthday = new CustomerWithBirthday();
     customerWithBirthday.ID = ID;
     customerWithBirthday.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return customerWithBirthday;
 }