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

            return(coll);
        }