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

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

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