public AprDiagnosticoControlOdontologicoCollection FetchByQuery(Query qry) { AprDiagnosticoControlOdontologicoCollection coll = new AprDiagnosticoControlOdontologicoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprDiagnosticoControlOdontologicoCollection FetchAll() { AprDiagnosticoControlOdontologicoCollection coll = new AprDiagnosticoControlOdontologicoCollection(); Query qry = new Query(AprDiagnosticoControlOdontologico.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }