I try do implement a user dynamic filter, where used selects some properties, selects some operators and selects also the values.
As I didn\'t find yet an answer to
what about this
var kitchens = houses .SelectMany(h => h.Rooms, (h, r) => new {House = h, Room = r}) .Where(hr => hr.Room.Type == RoomType.Kitchen) .Select(hr => hr.House);