/// <summary>
 /// Create a new PurchaseOrder object.
 /// </summary>
 /// <param name="purchaseOrderID">Initial value of the PurchaseOrderID property.</param>
 /// <param name="supplierID">Initial value of the SupplierID property.</param>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 /// <param name="purchaseOrderStatusID">Initial value of the PurchaseOrderStatusID property.</param>
 public static PurchaseOrder CreatePurchaseOrder(global::System.Int64 purchaseOrderID, global::System.Int32 supplierID, global::System.Int64 orderID, global::System.Byte purchaseOrderStatusID)
 {
     PurchaseOrder purchaseOrder = new PurchaseOrder();
     purchaseOrder.PurchaseOrderID = purchaseOrderID;
     purchaseOrder.SupplierID = supplierID;
     purchaseOrder.OrderID = orderID;
     purchaseOrder.PurchaseOrderStatusID = purchaseOrderStatusID;
     return purchaseOrder;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the PurchaseOrders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPurchaseOrders(PurchaseOrder purchaseOrder)
 {
     base.AddObject("PurchaseOrders", purchaseOrder);
 }