예제 #1
0
        public StateProvinceCollection FetchByQuery(Query qry)
        {
            StateProvinceCollection coll = new StateProvinceCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public StateProvinceCollection FetchAll()
        {
            StateProvinceCollection coll = new StateProvinceCollection();
            Query qry = new Query(StateProvince.Schema);

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