/// <summary> /// Deprecated Method for adding a new object to the film_category EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTofilm_category(film_category film_category) { base.AddObject("film_category", film_category); }
/// <summary> /// Create a new film_category object. /// </summary> /// <param name="film_id">Initial value of the film_id property.</param> /// <param name="category_id">Initial value of the category_id property.</param> /// <param name="last_update">Initial value of the last_update property.</param> public static film_category Createfilm_category(global::System.Int32 film_id, global::System.Byte category_id, global::System.DateTime last_update) { film_category film_category = new film_category(); film_category.film_id = film_id; film_category.category_id = category_id; film_category.last_update = last_update; return film_category; }