Hi, I'm struggling a bit here so I thought why not ask:
Every entity in my system has a list of tags (a list of strings), and I want to be able to search for multiple tags at once.
I have a IQueryable to work with. Every Entity has a IList called Tags and my input parameter is a IList.
I simply could go through all tags and do IQueryable.Where(p => p.Tags.Contains(currentTag), but that would not scale very well with many tags as input, and also I have the feeling that this could be done inside LinQ.
Hope anyone has an Idea.
Edit: Clarification of question: I search for a way to only select Items from my IQueryable that contain ALL supplied parameter tags (of IList).
greetings Daniel / Tigraine