/// <summary>
 /// Deprecated Method for adding a new object to the PurchaseOrderDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPurchaseOrderDetails(PurchaseOrderDetail purchaseOrderDetail)
 {
     base.AddObject("PurchaseOrderDetails", purchaseOrderDetail);
 }
 /// <summary>
 /// Create a new PurchaseOrderDetail object.
 /// </summary>
 /// <param name="purchaseOrderID">Initial value of the PurchaseOrderID property.</param>
 /// <param name="purchaseOrderDetailID">Initial value of the PurchaseOrderDetailID property.</param>
 /// <param name="dueDate">Initial value of the DueDate property.</param>
 /// <param name="orderQty">Initial value of the OrderQty property.</param>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
 /// <param name="lineTotal">Initial value of the LineTotal property.</param>
 /// <param name="receivedQty">Initial value of the ReceivedQty property.</param>
 /// <param name="rejectedQty">Initial value of the RejectedQty property.</param>
 /// <param name="stockedQty">Initial value of the StockedQty property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static PurchaseOrderDetail CreatePurchaseOrderDetail(global::System.Int32 purchaseOrderID, global::System.Int32 purchaseOrderDetailID, global::System.DateTime dueDate, global::System.Int16 orderQty, global::System.Int32 productID, global::System.Decimal unitPrice, global::System.Decimal lineTotal, global::System.Decimal receivedQty, global::System.Decimal rejectedQty, global::System.Decimal stockedQty, global::System.DateTime modifiedDate)
 {
     PurchaseOrderDetail purchaseOrderDetail = new PurchaseOrderDetail();
     purchaseOrderDetail.PurchaseOrderID = purchaseOrderID;
     purchaseOrderDetail.PurchaseOrderDetailID = purchaseOrderDetailID;
     purchaseOrderDetail.DueDate = dueDate;
     purchaseOrderDetail.OrderQty = orderQty;
     purchaseOrderDetail.ProductID = productID;
     purchaseOrderDetail.UnitPrice = unitPrice;
     purchaseOrderDetail.LineTotal = lineTotal;
     purchaseOrderDetail.ReceivedQty = receivedQty;
     purchaseOrderDetail.RejectedQty = rejectedQty;
     purchaseOrderDetail.StockedQty = stockedQty;
     purchaseOrderDetail.ModifiedDate = modifiedDate;
     return purchaseOrderDetail;
 }