/// <summary> /// Create a new WorkOrderRouting object. /// </summary> /// <param name="workOrderID">Initial value of the WorkOrderID property.</param> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="operationSequence">Initial value of the OperationSequence property.</param> /// <param name="locationID">Initial value of the LocationID 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="modifiedDate">Initial value of the ModifiedDate property.</param> public static WorkOrderRouting CreateWorkOrderRouting(global::System.Int32 workOrderID, global::System.Int32 productID, global::System.Int16 operationSequence, global::System.Int16 locationID, global::System.DateTime scheduledStartDate, global::System.DateTime scheduledEndDate, global::System.Decimal plannedCost, global::System.DateTime modifiedDate) { WorkOrderRouting workOrderRouting = new WorkOrderRouting(); workOrderRouting.WorkOrderID = workOrderID; workOrderRouting.ProductID = productID; workOrderRouting.OperationSequence = operationSequence; workOrderRouting.LocationID = locationID; workOrderRouting.ScheduledStartDate = scheduledStartDate; workOrderRouting.ScheduledEndDate = scheduledEndDate; workOrderRouting.PlannedCost = plannedCost; workOrderRouting.ModifiedDate = modifiedDate; return workOrderRouting; }
/// <summary> /// Deprecated Method for adding a new object to the WorkOrderRoutings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWorkOrderRoutings(WorkOrderRouting workOrderRouting) { base.AddObject("WorkOrderRoutings", workOrderRouting); }