Ejemplo n.º 1
0
 /// <summary>
 /// Create a new JobOrderTolerance object.
 /// </summary>
 /// <param name="jobOrderToleranceID">Initial value of the JobOrderToleranceID property.</param>
 /// <param name="toleranceValueInPercentage">Initial value of the ToleranceValueInPercentage property.</param>
 /// <param name="jobOrderToleraceTypeID">Initial value of the JobOrderToleraceTypeID property.</param>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 public static JobOrderTolerance CreateJobOrderTolerance(global::System.Int64 jobOrderToleranceID, global::System.Decimal toleranceValueInPercentage, global::System.Byte jobOrderToleraceTypeID, global::System.Int64 orderID)
 {
     JobOrderTolerance jobOrderTolerance = new JobOrderTolerance();
     jobOrderTolerance.JobOrderToleranceID = jobOrderToleranceID;
     jobOrderTolerance.ToleranceValueInPercentage = toleranceValueInPercentage;
     jobOrderTolerance.JobOrderToleraceTypeID = jobOrderToleraceTypeID;
     jobOrderTolerance.OrderID = orderID;
     return jobOrderTolerance;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the JobOrderTolerances EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToJobOrderTolerances(JobOrderTolerance jobOrderTolerance)
 {
     base.AddObject("JobOrderTolerances", jobOrderTolerance);
 }