public Elmah_ErrorCollection FetchAll() { Elmah_ErrorCollection coll = new Elmah_ErrorCollection(); Query qry = new Query(Elmah_Error.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public Elmah_ErrorCollection FetchByQuery(Query qry) { Elmah_ErrorCollection coll = new Elmah_ErrorCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public Elmah_ErrorCollection FetchByID(object ErrorId) { Elmah_ErrorCollection coll = new Elmah_ErrorCollection().Where("ErrorId", ErrorId).Load(); return coll; }