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); }