Exemplo n.º 1
0
 /// <summary>
 /// Create a new Production object.
 /// </summary>
 /// <param name="productionID">Initial value of the ProductionID property.</param>
 /// <param name="completedQuantity">Initial value of the CompletedQuantity property.</param>
 /// <param name="pending">Initial value of the Pending property.</param>
 /// <param name="c_Date">Initial value of the c_Date property.</param>
 /// <param name="productBreakUpSummaryID">Initial value of the ProductBreakUpSummaryID property.</param>
 public static Production CreateProduction(global::System.Int64 productionID, global::System.Decimal completedQuantity, global::System.Decimal pending, global::System.DateTime c_Date, global::System.Int64 productBreakUpSummaryID)
 {
     Production production = new Production();
     production.ProductionID = productionID;
     production.CompletedQuantity = completedQuantity;
     production.Pending = pending;
     production.c_Date = c_Date;
     production.ProductBreakUpSummaryID = productBreakUpSummaryID;
     return production;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Productions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductions(Production production)
 {
     base.AddObject("Productions", production);
 }