Example #1
0
        /// <summary>
        /// Create a new CustomerWithBirthday object.
        /// </summary>
        /// <param name="id">Initial value of the ID property.</param>
        /// <param name="editTimeStamp">Initial value of the EditTimeStamp property.</param>
        /// <param name="address">Initial value of the Address property.</param>
        /// <param name="birthday">Initial value of the Birthday property.</param>
        public static CustomerWithBirthday CreateCustomerWithBirthday(global::System.Int32 id, global::System.Byte[] editTimeStamp, Address address, global::System.DateTime birthday)
        {
            CustomerWithBirthday customerWithBirthday = new CustomerWithBirthday();

            customerWithBirthday.ID            = id;
            customerWithBirthday.EditTimeStamp = editTimeStamp;
            customerWithBirthday.Address       = StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
            customerWithBirthday.Birthday      = birthday;
            return(customerWithBirthday);
        }
 /// <summary>
 /// Create a new CustomerWithBirthday object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="editTimeStamp">Initial value of the EditTimeStamp property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 /// <param name="birthday">Initial value of the Birthday property.</param>
 public static CustomerWithBirthday CreateCustomerWithBirthday(global::System.Int32 id, global::System.Byte[] editTimeStamp, Address address, global::System.DateTime birthday)
 {
     CustomerWithBirthday customerWithBirthday = new CustomerWithBirthday();
     customerWithBirthday.ID = id;
     customerWithBirthday.EditTimeStamp = editTimeStamp;
     customerWithBirthday.Address = StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     customerWithBirthday.Birthday = birthday;
     return customerWithBirthday;
 }