IndexedDBSync.Models.Customer.CreateCustomer C# (CSharp) Method

CreateCustomer() public static method

Create a new Customer object.
public static CreateCustomer ( global customerID, global name, global email, global phone ) : Customer
customerID global Initial value of the CustomerID property.
name global Initial value of the Name property.
email global Initial value of the Email property.
phone global Initial value of the Phone property.
return Customer
        public static Customer CreateCustomer(global::System.Int32 customerID, global::System.String name, global::System.String email, global::System.String phone)
        {
            Customer customer = new Customer();
            customer.CustomerID = customerID;
            customer.Name = name;
            customer.Email = email;
            customer.Phone = phone;
            return customer;
        }