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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public DistrictCollection FetchAll()
        {
            DistrictCollection coll = new DistrictCollection();
            Query qry = new Query(District.Schema);

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