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); }
public PnPermisosGrupoCollection FetchByID(object IdPg) { PnPermisosGrupoCollection coll = new PnPermisosGrupoCollection().Where("id_pg", IdPg).Load(); return(coll); }