public SysPacienteCollection FetchByQuery(Query qry) { SysPacienteCollection coll = new SysPacienteCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysPacienteCollection FetchAll() { SysPacienteCollection coll = new SysPacienteCollection(); Query qry = new Query(SysPaciente.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysPacienteCollection FetchByID(object IdPaciente) { SysPacienteCollection coll = new SysPacienteCollection().Where("idPaciente", IdPaciente).Load(); return(coll); }