예제 #1
0
파일: Model1.cs 프로젝트: endlessido/MEDIA
 /// <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;
 }
예제 #2
0
파일: Model1.cs 프로젝트: endlessido/MEDIA
 /// <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);
 }