Наследование: System.Data.Objects.DataClasses.EntityObject
Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the film_category EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTofilm_category(film_category film_category)
 {
     base.AddObject("film_category", film_category);
 }
Пример #2
0
 /// <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;
 }