public PnDatosReportableCollection FetchByQuery(Query qry) { PnDatosReportableCollection coll = new PnDatosReportableCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnDatosReportableCollection FetchAll() { PnDatosReportableCollection coll = new PnDatosReportableCollection(); Query qry = new Query(PnDatosReportable.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnDatosReportableCollection FetchByID(object IdDatoReportable) { PnDatosReportableCollection coll = new PnDatosReportableCollection().Where("idDatoReportable", IdDatoReportable).Load(); return(coll); }