Ejemplo n.º 1
0
        public static CustomerWithoutProperties CreateCustomerWithoutProperties(Address address, global::System.Guid guidValue, int ID, global::System.DateTime birthday)
        {
            CustomerWithoutProperties customerWithoutProperties = new CustomerWithoutProperties();

            if ((address == null))
            {
                throw new global::System.ArgumentNullException("address");
            }
            customerWithoutProperties.Address   = address;
            customerWithoutProperties.GuidValue = guidValue;
            customerWithoutProperties.ID        = ID;
            customerWithoutProperties.Birthday  = birthday;
            return(customerWithoutProperties);
        }
Ejemplo n.º 2
0
 public static CustomerWithoutProperties CreateCustomerWithoutProperties(Address address, global::System.Guid guidValue, int ID, global::System.DateTime birthday)
 {
     CustomerWithoutProperties customerWithoutProperties = new CustomerWithoutProperties();
     if ((address == null))
     {
         throw new global::System.ArgumentNullException("address");
     }
     customerWithoutProperties.Address = address;
     customerWithoutProperties.GuidValue = guidValue;
     customerWithoutProperties.ID = ID;
     customerWithoutProperties.Birthday = birthday;
     return customerWithoutProperties;
 }