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