示例#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);
        }