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