예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StockAdjustDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStockAdjustDetails(StockAdjustDetail stockAdjustDetail)
 {
     base.AddObject("StockAdjustDetails", stockAdjustDetail);
 }
예제 #2
0
 /// <summary>
 /// Create a new StockAdjustDetail object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="stockAdjustDetail_Location">Initial value of the StockAdjustDetail_Location property.</param>
 /// <param name="stockAdjust_Product">Initial value of the StockAdjust_Product property.</param>
 /// <param name="lotNo">Initial value of the LotNo property.</param>
 /// <param name="currentQuantity">Initial value of the CurrentQuantity property.</param>
 /// <param name="newQuantity">Initial value of the NewQuantity property.</param>
 /// <param name="stockAdjustDetail_StockAdjust">Initial value of the StockAdjustDetail_StockAdjust property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static StockAdjustDetail CreateStockAdjustDetail(global::System.Int32 id, global::System.Int32 stockAdjustDetail_Location, global::System.Int32 stockAdjust_Product, global::System.String lotNo, global::System.Double currentQuantity, global::System.Double newQuantity, global::System.Int32 stockAdjustDetail_StockAdjust, global::System.Byte[] rowVersion)
 {
     StockAdjustDetail stockAdjustDetail = new StockAdjustDetail();
     stockAdjustDetail.Id = id;
     stockAdjustDetail.StockAdjustDetail_Location = stockAdjustDetail_Location;
     stockAdjustDetail.StockAdjust_Product = stockAdjust_Product;
     stockAdjustDetail.LotNo = lotNo;
     stockAdjustDetail.CurrentQuantity = currentQuantity;
     stockAdjustDetail.NewQuantity = newQuantity;
     stockAdjustDetail.StockAdjustDetail_StockAdjust = stockAdjustDetail_StockAdjust;
     stockAdjustDetail.RowVersion = rowVersion;
     return stockAdjustDetail;
 }