public SysErrorLogCollection FetchAll() { SysErrorLogCollection coll = new SysErrorLogCollection(); Query qry = new Query(SysErrorLog.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysErrorLogCollection FetchByQuery(Query qry) { SysErrorLogCollection coll = new SysErrorLogCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysErrorLogCollection FetchByID(object Id) { SysErrorLogCollection coll = new SysErrorLogCollection().Where("ID", Id).Load(); return coll; }