示例#1
0
        public CurrencyCollection FetchByQuery(Query qry)
        {
            CurrencyCollection coll = new CurrencyCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public CurrencyCollection FetchAll()
        {
            CurrencyCollection coll = new CurrencyCollection();
            Query qry = new Query(Currency.Schema);

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