public ConAgendaGrupalPacienteCollection FetchByQuery(Query qry) { ConAgendaGrupalPacienteCollection coll = new ConAgendaGrupalPacienteCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ConAgendaGrupalPacienteCollection FetchAll() { ConAgendaGrupalPacienteCollection coll = new ConAgendaGrupalPacienteCollection(); Query qry = new Query(ConAgendaGrupalPaciente.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ConAgendaGrupalPacienteCollection FetchByID(object IdAgendaGrupalPaciente) { ConAgendaGrupalPacienteCollection coll = new ConAgendaGrupalPacienteCollection().Where("idAgendaGrupalPaciente", IdAgendaGrupalPaciente).Load(); return(coll); }