score:2

Accepted answer

The c.AppUserID != null does not work because the collection is empty, not null.

This will get you all cities wit non-empty AppUserID collections:

var cities = db.Cities.Where(c => c.AppUserID.Any() )

Related Query

More Query from same tag