/// <summary>
 /// Deprecated Method for adding a new object to the OrderProducts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderProducts(OrderProduct orderProduct)
 {
     base.AddObject("OrderProducts", orderProduct);
 }
 /// <summary>
 /// Create a new OrderProduct object.
 /// </summary>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="expectedQuantity">Initial value of the ExpectedQuantity property.</param>
 /// <param name="customerTargetPrice">Initial value of the CustomerTargetPrice property.</param>
 /// <param name="orderValue">Initial value of the OrderValue property.</param>
 /// <param name="currencyID">Initial value of the CurrencyID property.</param>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 /// <param name="productNameID">Initial value of the ProductNameID property.</param>
 /// <param name="uOMID">Initial value of the UOMID property.</param>
 public static OrderProduct CreateOrderProduct(global::System.Int64 productID, global::System.Decimal expectedQuantity, global::System.Decimal customerTargetPrice, global::System.Decimal orderValue, global::System.Int16 currencyID, global::System.Int64 orderID, global::System.Int64 productNameID, global::System.Int16 uOMID)
 {
     OrderProduct orderProduct = new OrderProduct();
     orderProduct.ProductID = productID;
     orderProduct.ExpectedQuantity = expectedQuantity;
     orderProduct.CustomerTargetPrice = customerTargetPrice;
     orderProduct.OrderValue = orderValue;
     orderProduct.CurrencyID = currencyID;
     orderProduct.OrderID = orderID;
     orderProduct.ProductNameID = productNameID;
     orderProduct.UOMID = uOMID;
     return orderProduct;
 }