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