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