예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StockAdjusts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStockAdjusts(StockAdjust stockAdjust)
 {
     base.AddObject("StockAdjusts", stockAdjust);
 }
예제 #2
0
 /// <summary>
 /// Create a new StockAdjust object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="documentNo">Initial value of the DocumentNo property.</param>
 /// <param name="documentDate">Initial value of the DocumentDate property.</param>
 /// <param name="remarks">Initial value of the Remarks property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static StockAdjust CreateStockAdjust(global::System.Int32 id, global::System.String documentNo, global::System.DateTime documentDate, global::System.String remarks, global::System.Byte[] rowVersion)
 {
     StockAdjust stockAdjust = new StockAdjust();
     stockAdjust.Id = id;
     stockAdjust.DocumentNo = documentNo;
     stockAdjust.DocumentDate = documentDate;
     stockAdjust.Remarks = remarks;
     stockAdjust.RowVersion = rowVersion;
     return stockAdjust;
 }