Ejemplo n.º 1
0
        public MarketCollection FetchByQuery(Query qry)
        {
            MarketCollection coll = new MarketCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public MarketCollection FetchAll()
        {
            MarketCollection coll = new MarketCollection();
            Query            qry  = new Query(Market.Schema);

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