Exemplo n.º 1
0
 /// <summary>
 /// Create a new ProductCutting object.
 /// </summary>
 /// <param name="cuttingID">Initial value of the CuttingID property.</param>
 /// <param name="c_Date">Initial value of the c_Date property.</param>
 /// <param name="cutQuantity">Initial value of the CutQuantity property.</param>
 /// <param name="pending">Initial value of the Pending property.</param>
 /// <param name="productBreakUpSummaryID">Initial value of the ProductBreakUpSummaryID property.</param>
 public static ProductCutting CreateProductCutting(global::System.Int64 cuttingID, global::System.DateTime c_Date, global::System.Decimal cutQuantity, global::System.Decimal pending, global::System.Int64 productBreakUpSummaryID)
 {
     ProductCutting productCutting = new ProductCutting();
     productCutting.CuttingID = cuttingID;
     productCutting.c_Date = c_Date;
     productCutting.CutQuantity = cutQuantity;
     productCutting.Pending = pending;
     productCutting.ProductBreakUpSummaryID = productBreakUpSummaryID;
     return productCutting;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductCuttings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductCuttings(ProductCutting productCutting)
 {
     base.AddObject("ProductCuttings", productCutting);
 }