public DbQueryLogCollection FetchByQuery(Query qry) { DbQueryLogCollection coll = new DbQueryLogCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DbQueryLogCollection FetchAll() { DbQueryLogCollection coll = new DbQueryLogCollection(); Query qry = new Query(DbQueryLog.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }