/// <summary>
 /// Deprecated Method for adding a new object to the IngredientPurchaseHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIngredientPurchaseHistories(IngredientPurchaseHistory ingredientPurchaseHistory)
 {
     base.AddObject("IngredientPurchaseHistories", ingredientPurchaseHistory);
 }
 /// <summary>
 /// Create a new IngredientPurchaseHistory object.
 /// </summary>
 /// <param name="ingredientPurchaseHistoryID">Initial value of the IngredientPurchaseHistoryID property.</param>
 /// <param name="ingredientID">Initial value of the IngredientID property.</param>
 /// <param name="purchaseID">Initial value of the PurchaseID property.</param>
 /// <param name="ingredientPurchaseHistoryPrice">Initial value of the IngredientPurchaseHistoryPrice property.</param>
 /// <param name="ingredientPurchaseHistoryQty">Initial value of the IngredientPurchaseHistoryQty property.</param>
 public static IngredientPurchaseHistory CreateIngredientPurchaseHistory(global::System.Int16 ingredientPurchaseHistoryID, global::System.Int16 ingredientID, global::System.Int16 purchaseID, global::System.Decimal ingredientPurchaseHistoryPrice, global::System.Int16 ingredientPurchaseHistoryQty)
 {
     IngredientPurchaseHistory ingredientPurchaseHistory = new IngredientPurchaseHistory();
     ingredientPurchaseHistory.IngredientPurchaseHistoryID = ingredientPurchaseHistoryID;
     ingredientPurchaseHistory.IngredientID = ingredientID;
     ingredientPurchaseHistory.PurchaseID = purchaseID;
     ingredientPurchaseHistory.IngredientPurchaseHistoryPrice = ingredientPurchaseHistoryPrice;
     ingredientPurchaseHistory.IngredientPurchaseHistoryQty = ingredientPurchaseHistoryQty;
     return ingredientPurchaseHistory;
 }