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); }
public PnTipoDePrestacionCollection FetchByID(object IdTipoDePrestacion) { PnTipoDePrestacionCollection coll = new PnTipoDePrestacionCollection().Where("idTipoDePrestacion", IdTipoDePrestacion).Load(); return(coll); }