public void AddToStockOnHandHistories(StockOnHandHistory stockOnHandHistory)
 {
     base.AddObject("StockOnHandHistories", stockOnHandHistory);
 }
 public static StockOnHandHistory CreateStockOnHandHistory(int ID, string transactionNo, global::System.DateTime transactionDate, string transactionBy, int productId, int locationId, string lotNo, byte[] rowVersion)
 {
     StockOnHandHistory stockOnHandHistory = new StockOnHandHistory();
     stockOnHandHistory.Id = ID;
     stockOnHandHistory.TransactionNo = transactionNo;
     stockOnHandHistory.TransactionDate = transactionDate;
     stockOnHandHistory.TransactionBy = transactionBy;
     stockOnHandHistory.ProductId = productId;
     stockOnHandHistory.LocationId = locationId;
     stockOnHandHistory.LotNo = lotNo;
     stockOnHandHistory.RowVersion = rowVersion;
     return stockOnHandHistory;
 }