/// <summary> /// Deprecated Method for adding a new object to the ProductReceiveBalanceForwardDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductReceiveBalanceForwardDetails(ProductReceiveBalanceForwardDetail productReceiveBalanceForwardDetail) { base.AddObject("ProductReceiveBalanceForwardDetails", productReceiveBalanceForwardDetail); }
/// <summary> /// Create a new ProductReceiveBalanceForwardDetail object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="lotNo">Initial value of the LotNo property.</param> /// <param name="receivedQuantity">Initial value of the ReceivedQuantity property.</param> /// <param name="productReceiveDetail_Product">Initial value of the ProductReceiveDetail_Product property.</param> /// <param name="productReceiveDetail_Location">Initial value of the ProductReceiveDetail_Location property.</param> /// <param name="productReceiveDetail_ProductReceive">Initial value of the ProductReceiveDetail_ProductReceive property.</param> /// <param name="costPrice">Initial value of the CostPrice property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static ProductReceiveBalanceForwardDetail CreateProductReceiveBalanceForwardDetail(global::System.Int32 id, global::System.String lotNo, global::System.Double receivedQuantity, global::System.Int32 productReceiveDetail_Product, global::System.Int32 productReceiveDetail_Location, global::System.Int32 productReceiveDetail_ProductReceive, global::System.Decimal costPrice, global::System.Byte[] rowVersion) { ProductReceiveBalanceForwardDetail productReceiveBalanceForwardDetail = new ProductReceiveBalanceForwardDetail(); productReceiveBalanceForwardDetail.Id = id; productReceiveBalanceForwardDetail.LotNo = lotNo; productReceiveBalanceForwardDetail.ReceivedQuantity = receivedQuantity; productReceiveBalanceForwardDetail.ProductReceiveDetail_Product = productReceiveDetail_Product; productReceiveBalanceForwardDetail.ProductReceiveDetail_Location = productReceiveDetail_Location; productReceiveBalanceForwardDetail.ProductReceiveDetail_ProductReceive = productReceiveDetail_ProductReceive; productReceiveBalanceForwardDetail.CostPrice = costPrice; productReceiveBalanceForwardDetail.RowVersion = rowVersion; return productReceiveBalanceForwardDetail; }