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