public ProductCostHistoryCollection FetchByQuery(Query qry) { ProductCostHistoryCollection coll = new ProductCostHistoryCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ProductCostHistoryCollection FetchAll() { ProductCostHistoryCollection coll = new ProductCostHistoryCollection(); Query qry = new Query(ProductCostHistory.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ProductCostHistoryCollection FetchByID(object ProductID) { ProductCostHistoryCollection coll = new ProductCostHistoryCollection().Where("ProductID", ProductID).Load(); return(coll); }