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