public PnCapacitadoCollection FetchByQuery(Query qry) { PnCapacitadoCollection coll = new PnCapacitadoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnCapacitadoCollection FetchAll() { PnCapacitadoCollection coll = new PnCapacitadoCollection(); Query qry = new Query(PnCapacitado.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnCapacitadoCollection FetchByID(object IdLegajo) { PnCapacitadoCollection coll = new PnCapacitadoCollection().Where("id_legajo", IdLegajo).Load(); return(coll); }