VideoRentalService.customer.Createcustomer C# (CSharp) Method

Createcustomer() public static method

Create a new customer object.
public static Createcustomer ( global customer_id, global store_id, global first_name, global last_name, global address_id, global active, global create_date, global last_update ) : customer
customer_id global Initial value of the customer_id property.
store_id global Initial value of the store_id property.
first_name global Initial value of the first_name property.
last_name global Initial value of the last_name property.
address_id global Initial value of the address_id property.
active global Initial value of the active property.
create_date global Initial value of the create_date property.
last_update global Initial value of the last_update property.
return customer
        public static customer Createcustomer(global::System.Int32 customer_id, global::System.Byte store_id, global::System.String first_name, global::System.String last_name, global::System.Int32 address_id, global::System.Boolean active, global::System.DateTime create_date, global::System.DateTime last_update)
        {
            customer customer = new customer();
            customer.customer_id = customer_id;
            customer.store_id = store_id;
            customer.first_name = first_name;
            customer.last_name = last_name;
            customer.address_id = address_id;
            customer.active = active;
            customer.create_date = create_date;
            customer.last_update = last_update;
            return customer;
        }