예제 #1
0
        public SalesTaxRateCollection FetchByQuery(Query qry)
        {
            SalesTaxRateCollection coll = new SalesTaxRateCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public SalesTaxRateCollection FetchAll()
        {
            SalesTaxRateCollection coll = new SalesTaxRateCollection();
            Query qry = new Query(SalesTaxRate.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }