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

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

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