/// <summary> /// Deprecated Method for adding a new object to the WorkOrderRouting EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWorkOrderRouting(vWorkOrderRouting vWorkOrderRouting) { base.AddObject("WorkOrderRouting", vWorkOrderRouting); }
/// <summary> /// Create a new vWorkOrderRouting object. /// </summary> /// <param name="workOrderID">Initial value of the WorkOrderID property.</param> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="productNumber">Initial value of the ProductNumber property.</param> /// <param name="productName">Initial value of the ProductName property.</param> /// <param name="operationSequence">Initial value of the OperationSequence property.</param> /// <param name="locationID">Initial value of the LocationID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="scheduledStartDate">Initial value of the ScheduledStartDate property.</param> /// <param name="scheduledEndDate">Initial value of the ScheduledEndDate property.</param> /// <param name="plannedCost">Initial value of the PlannedCost property.</param> /// <param name="orderQty">Initial value of the OrderQty property.</param> /// <param name="scrappedQty">Initial value of the ScrappedQty property.</param> /// <param name="dueDate">Initial value of the DueDate property.</param> /// <param name="id">Initial value of the ID property.</param> public static vWorkOrderRouting CreatevWorkOrderRouting(global::System.Int32 workOrderID, global::System.Int32 productID, global::System.String productNumber, global::System.String productName, global::System.Int16 operationSequence, global::System.Int16 locationID, global::System.String name, global::System.DateTime scheduledStartDate, global::System.DateTime scheduledEndDate, global::System.Decimal plannedCost, global::System.Int32 orderQty, global::System.Int16 scrappedQty, global::System.DateTime dueDate, global::System.Int64 id) { vWorkOrderRouting vWorkOrderRouting = new vWorkOrderRouting(); vWorkOrderRouting.WorkOrderID = workOrderID; vWorkOrderRouting.ProductID = productID; vWorkOrderRouting.ProductNumber = productNumber; vWorkOrderRouting.ProductName = productName; vWorkOrderRouting.OperationSequence = operationSequence; vWorkOrderRouting.LocationID = locationID; vWorkOrderRouting.Name = name; vWorkOrderRouting.ScheduledStartDate = scheduledStartDate; vWorkOrderRouting.ScheduledEndDate = scheduledEndDate; vWorkOrderRouting.PlannedCost = plannedCost; vWorkOrderRouting.OrderQty = orderQty; vWorkOrderRouting.ScrappedQty = scrappedQty; vWorkOrderRouting.DueDate = dueDate; vWorkOrderRouting.ID = id; return vWorkOrderRouting; }