/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the ProductInventories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductInventories(ProductInventory productInventory) { base.AddObject("ProductInventories", productInventory); }