/// <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);
 }
 /// <summary>
 /// Create a new ProductInventory object.
 /// </summary>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="locationID">Initial value of the LocationID property.</param>
 /// <param name="shelf">Initial value of the Shelf property.</param>
 /// <param name="bin">Initial value of the Bin property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="rowguid">Initial value of the rowguid property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static ProductInventory CreateProductInventory(global::System.Int32 productID, global::System.Int16 locationID, global::System.String shelf, global::System.Byte bin, global::System.Int16 quantity, global::System.Guid rowguid, global::System.DateTime modifiedDate)
 {
     ProductInventory productInventory = new ProductInventory();
     productInventory.ProductID = productID;
     productInventory.LocationID = locationID;
     productInventory.Shelf = shelf;
     productInventory.Bin = bin;
     productInventory.Quantity = quantity;
     productInventory.rowguid = rowguid;
     productInventory.ModifiedDate = modifiedDate;
     return productInventory;
 }