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); }