public PnPrestacionCollection FetchByQuery(Query qry) { PnPrestacionCollection coll = new PnPrestacionCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnPrestacionCollection FetchAll() { PnPrestacionCollection coll = new PnPrestacionCollection(); Query qry = new Query(PnPrestacion.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnPrestacionCollection FetchByID(object IdPrestacion) { PnPrestacionCollection coll = new PnPrestacionCollection().Where("id_prestacion", IdPrestacion).Load(); return(coll); }