Guys I am new to Entity Framework and I\'m having a bt of a problem that I have been trying to solve for quite a while. Basically I have 4 entities: users, groups, books an
I haven't tested it but hopefully it will work.
entities.Books.Where( b => entities.ReadingList. Where(rl => rl.GroupId == groupId). Select(rl => rl.BookId). Contains(b.BookId) )