コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the bvc_ProductInventory EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTobvc_ProductInventory(bvc_ProductInventory bvc_ProductInventory)
 {
     base.AddObject("bvc_ProductInventory", bvc_ProductInventory);
 }
コード例 #2
0
 /// <summary>
 /// Create a new bvc_ProductInventory object.
 /// </summary>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="inventoryKey">Initial value of the InventoryKey property.</param>
 /// <param name="qty">Initial value of the Qty property.</param>
 public static bvc_ProductInventory Createbvc_ProductInventory(global::System.String productID, global::System.String inventoryKey, global::System.Int32 qty)
 {
     bvc_ProductInventory bvc_ProductInventory = new bvc_ProductInventory();
     bvc_ProductInventory.ProductID = productID;
     bvc_ProductInventory.InventoryKey = inventoryKey;
     bvc_ProductInventory.Qty = qty;
     return bvc_ProductInventory;
 }