/// <summary>
 /// Deprecated Method for adding a new object to the OrderItem EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderItem(OrderItem orderItem)
 {
     base.AddObject("OrderItem", orderItem);
 }
 /// <summary>
 /// Create a new OrderItem object.
 /// </summary>
 /// <param name="orderItemID">Initial value of the OrderItemID property.</param>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 /// <param name="packageID">Initial value of the PackageID property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="unitCost">Initial value of the UnitCost property.</param>
 public static OrderItem CreateOrderItem(global::System.Int32 orderItemID, global::System.Int32 orderID, global::System.Int32 packageID, global::System.Decimal quantity, global::System.Decimal unitCost)
 {
     OrderItem orderItem = new OrderItem();
     orderItem.OrderItemID = orderItemID;
     orderItem.OrderID = orderID;
     orderItem.PackageID = packageID;
     orderItem.Quantity = quantity;
     orderItem.UnitCost = unitCost;
     return orderItem;
 }