Ejemplo n.º 1
0
 /// <summary>
 /// Create a new ProductInventory object.
 /// </summary>
 /// <param name="inventoryId">Initial value of the InventoryId property.</param>
 public static ProductInventory CreateProductInventory(global::System.Int32 inventoryId)
 {
     ProductInventory productInventory = new ProductInventory();
     productInventory.InventoryId = inventoryId;
     return productInventory;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductInventories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductInventories(ProductInventory productInventory)
 {
     base.AddObject("ProductInventories", productInventory);
 }