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