VideoRentalService.address.Createaddress C# (CSharp) Method

Createaddress() public static method

Create a new address object.
public static Createaddress ( global address_id, global address1, global district, global city_id, global phone, global last_update ) : address
address_id global Initial value of the address_id property.
address1 global Initial value of the address1 property.
district global Initial value of the district property.
city_id global Initial value of the city_id property.
phone global Initial value of the phone property.
last_update global Initial value of the last_update property.
return address
        public static address Createaddress(global::System.Int32 address_id, global::System.String address1, global::System.String district, global::System.Int32 city_id, global::System.String phone, global::System.DateTime last_update)
        {
            address address = new address();
            address.address_id = address_id;
            address.address1 = address1;
            address.district = district;
            address.city_id = city_id;
            address.phone = phone;
            address.last_update = last_update;
            return address;
        }