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