var query =from city in db.Cities where !db.Countries.Any(country => country.ID == city.ID) select city;返回不存在于 Countries中但存在于cities中的city。参考着写吧。