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