public SalesTaxRateCollection FetchByQuery(Query qry) { SalesTaxRateCollection coll = new SalesTaxRateCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SalesTaxRateCollection FetchAll() { SalesTaxRateCollection coll = new SalesTaxRateCollection(); Query qry = new Query(SalesTaxRate.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }