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