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