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

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

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