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); }