Inheritance: System.Data.Objects.DataClasses.EntityObject
Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the inventories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToinventories(inventory inventory)
 {
     base.AddObject("inventories", inventory);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new inventory object.
 /// </summary>
 /// <param name="inventory_id">Initial value of the inventory_id property.</param>
 /// <param name="film_id">Initial value of the film_id property.</param>
 /// <param name="store_id">Initial value of the store_id property.</param>
 /// <param name="last_update">Initial value of the last_update property.</param>
 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;
 }