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); }
public SalesTaxRateCollection FetchByID(object SalesTaxRateID) { SalesTaxRateCollection coll = new SalesTaxRateCollection().Where("SalesTaxRateID", SalesTaxRateID).Load(); return(coll); }