I have a table Users with ID field, have table
Services
ID
ServiceName
, have table
UserServices
UserID
ServiceID
classes:
User
Service
Class User has property-collection UserServices
i need to create LINQ request to get all users, which has at least one service, which has an user with ID=5 for example.
How to make this LINQ? Thanks
I suppose you also have
Then you can type something like this