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