Sounds like you want:
var movies = _db.Movies.Where(p => p.Genres.Intersect(listOfGenres).Any());
More Related Contents:
- Combining two expressions (Expression)
- Return anonymous type results?
- How do I specify the Linq OrderBy argument dynamically? [duplicate]
- How to do a subquery in LINQ?
- LINQ: Not Any vs All Don’t
- Entity framework left join
- How to check if IEnumerable is null or empty?
- Could not find an implementation of the query pattern
- Directory.GetFiles of certain extension
- The result of a query cannot be enumerated more than once
- Async await in linq select
- Why is LINQ .Where(predicate).First() faster than .First(predicate)?
- MVC 4 how pass data correctly from controller to view
- How to take all but the last element in a sequence using LINQ?
- Is there an IEnumerable implementation that only iterates over it’s source (e.g. LINQ) once?
- LINQ identity function
- LINQ Expression to return Property value?
- Update XML with C# using Linq
- Simulating Cross Context Joins–LINQ/C#
- Remove duplicate items from list in C#, according to one of their properties
- Check if list contains item from other list in EntityFramework
- Entity Framework core – Contains is case sensitive or case insensitive?
- How to do an “in” query in entity framework?
- LINQ: Add RowNumber Column
- Keep Getting ‘The LINQ expression node type ‘Invoke’ is not supported in LINQ to Entities’ Exception
- Is there an easy way to merge two ordered sequences using LINQ?
- Creating a LINQ select from multiple tables
- How do I compose Linq Expressions? ie Func
- If Else in LINQ
- Parsing a string C# LINQ expression