/// <summary>
 /// Create a new WorkOrderProduce object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="workOrderProduce_WorkOrder">Initial value of the WorkOrderProduce_WorkOrder property.</param>
 /// <param name="workOrderProduce_Product">Initial value of the WorkOrderProduce_Product property.</param>
 /// <param name="workOrderProduce_Location">Initial value of the WorkOrderProduce_Location property.</param>
 /// <param name="orderQuantity">Initial value of the OrderQuantity property.</param>
 /// <param name="isReceiveComplete">Initial value of the IsReceiveComplete property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static WorkOrderProduce CreateWorkOrderProduce(global::System.Int32 id, global::System.Int32 workOrderProduce_WorkOrder, global::System.Int32 workOrderProduce_Product, global::System.Int32 workOrderProduce_Location, global::System.Double orderQuantity, global::System.Boolean isReceiveComplete, global::System.Byte[] rowVersion)
 {
     WorkOrderProduce workOrderProduce = new WorkOrderProduce();
     workOrderProduce.Id = id;
     workOrderProduce.WorkOrderProduce_WorkOrder = workOrderProduce_WorkOrder;
     workOrderProduce.WorkOrderProduce_Product = workOrderProduce_Product;
     workOrderProduce.WorkOrderProduce_Location = workOrderProduce_Location;
     workOrderProduce.OrderQuantity = orderQuantity;
     workOrderProduce.IsReceiveComplete = isReceiveComplete;
     workOrderProduce.RowVersion = rowVersion;
     return workOrderProduce;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the WorkOrderProduces EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWorkOrderProduces(WorkOrderProduce workOrderProduce)
 {
     base.AddObject("WorkOrderProduces", workOrderProduce);
 }