public PnRelPrestacionXDatoReportableCollection FetchByQuery(Query qry) { PnRelPrestacionXDatoReportableCollection coll = new PnRelPrestacionXDatoReportableCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnRelPrestacionXDatoReportableCollection FetchAll() { PnRelPrestacionXDatoReportableCollection coll = new PnRelPrestacionXDatoReportableCollection(); Query qry = new Query(PnRelPrestacionXDatoReportable.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnRelPrestacionXDatoReportableCollection FetchByID(object IdPrestacionXDatoReportable) { PnRelPrestacionXDatoReportableCollection coll = new PnRelPrestacionXDatoReportableCollection().Where("idPrestacionXDatoReportable", IdPrestacionXDatoReportable).Load(); return(coll); }