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