Ejemplo 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);
        }
Ejemplo n.º 2
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;
 }