VideoRentalService.inventory.Createinventory C# (CSharp) Method

Createinventory() public static method

Create a new inventory object.
public static Createinventory ( global inventory_id, global film_id, global store_id, global last_update ) : inventory
inventory_id global Initial value of the inventory_id property.
film_id global Initial value of the film_id property.
store_id global Initial value of the store_id property.
last_update global Initial value of the last_update property.
return inventory
        public static inventory Createinventory(global::System.Int32 inventory_id, global::System.Int32 film_id, global::System.Byte store_id, global::System.DateTime last_update)
        {
            inventory inventory = new inventory();
            inventory.inventory_id = inventory_id;
            inventory.film_id = film_id;
            inventory.store_id = store_id;
            inventory.last_update = last_update;
            return inventory;
        }