public PnReporteHipoacustiumCollection FetchByQuery(Query qry) { PnReporteHipoacustiumCollection coll = new PnReporteHipoacustiumCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnReporteHipoacustiumCollection FetchAll() { PnReporteHipoacustiumCollection coll = new PnReporteHipoacustiumCollection(); Query qry = new Query(PnReporteHipoacustium.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnReporteHipoacustiumCollection FetchByID(object IdReporteHipoacustia) { PnReporteHipoacustiumCollection coll = new PnReporteHipoacustiumCollection().Where("id_reporte_hipoacustia", IdReporteHipoacustia).Load(); return(coll); }