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

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

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