/// <summary> /// Deprecated Method for adding a new object to the StockTransfers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStockTransfers(StockTransfer stockTransfer) { base.AddObject("StockTransfers", stockTransfer); }
/// <summary> /// Create a new StockTransfer object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="lotNo">Initial value of the LotNo property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static StockTransfer CreateStockTransfer(global::System.Int32 id, global::System.String lotNo, global::System.Double quantity, global::System.Byte[] rowVersion) { StockTransfer stockTransfer = new StockTransfer(); stockTransfer.Id = id; stockTransfer.LotNo = lotNo; stockTransfer.Quantity = quantity; stockTransfer.RowVersion = rowVersion; return stockTransfer; }