コード例 #1
0
        public DatabaseLogCollection FetchByQuery(Query qry)
        {
            DatabaseLogCollection coll = new DatabaseLogCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public DatabaseLogCollection FetchAll()
        {
            DatabaseLogCollection coll = new DatabaseLogCollection();
            Query qry = new Query(DatabaseLog.Schema);

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