VideoRentalService.film.Createfilm C# (CSharp) Method

Createfilm() public static method

Create a new film object.
public static Createfilm ( global film_id, global title, global language_id, global rental_duration, global rental_rate, global replacement_cost, global last_update ) : film
film_id global Initial value of the film_id property.
title global Initial value of the title property.
language_id global Initial value of the language_id property.
rental_duration global Initial value of the rental_duration property.
rental_rate global Initial value of the rental_rate property.
replacement_cost global Initial value of the replacement_cost property.
last_update global Initial value of the last_update property.
return film
        public static film Createfilm(global::System.Int32 film_id, global::System.String title, global::System.Byte language_id, global::System.Byte rental_duration, global::System.Decimal rental_rate, global::System.Decimal replacement_cost, global::System.DateTime last_update)
        {
            film film = new film();
            film.film_id = film_id;
            film.title = title;
            film.language_id = language_id;
            film.rental_duration = rental_duration;
            film.rental_rate = rental_rate;
            film.replacement_cost = replacement_cost;
            film.last_update = last_update;
            return film;
        }