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