score:5
Accepted answer
sounds like you are looking for something along the lines of:
var employeeids = ["1001", "1002", "1003", "1004", "1005", "1006", "1007"];
query.where(report => employeeids.contains(report.employeeid));
Source: stackoverflow.com
Related Query
- LINQ query for retrieving items that contain any value from a list?
- linq remove items from query where any list value is present
- get new list which contain any numeric value from current list using LINQ query
- LINQ query to extract all answers that contain any keyword from a list
- linq - how do you do a query for items in one query source that are not in another one?
- How to use LINQ to query list of strings that do not contain substring entries from another list
- Is there a Linq operation to retrieve specific items from a list of items where the item has a property value for a property which should be unique?
- Using a Linq query to select objects where any value of a property matches values from a list
- LINQ query for retrieving data from list
- LINQ return items in a List that matches any Names (string) in another list
- Exclude list items that contain values from another list
- Remove items from list that intersect on property using Linq
- Linq - How to select items from a list that contains only items of another list?
- How can I set properties on all items from a linq query with values from another object that is also pulled from a query?
- Linq query to exclude from a List when a property value of List of different type are equal?
- Select items from a List where the children contain the items from another List using LINQ
- LINQ query for finding one item in list AND verifying list does not contain another item
- using linq query to find value that differs from previously found value
- Linq select all numbers that are in any interval from another list of intervals
- IN query using LINQ for IEnumerable List of items
- linq query to return nested list for unique items
- C# LINQ : Dynamically create property and values that includes sum of a value from a grouped query
- LINQ for removing elements that are started with other element from list
- Linq query to Check and get dictionary item from list of dictionary items
- Dynamic "Not" by parameter in LINQ (Or any other code for that matter)
- Linq for selecting elements from list 1 that exist on list 2 by comparsion between 2 properties values
- Send a new list to the result of the LINQ query from the list for C#
- How to return list of items from linq to sql query and call it in a console application
- Get the objects with the maximum value for a specific property from a list using LINQ
- Complex Linq query to select list items with another list property containing a value
More Query from same tag
- LINQ join on a subquery with a union
- How do I use LINQ to count number of objects in largest group?
- Selecting values from List
- SQL ORDER BY IN SELECT FROM STRING SPLIT or Comma Separated Value
- Getting attributes from same-named XDocument elements using LINQ
- How to check if record with given ID already exists using EF5 and repository
- C# LINQ to XML - How can I filter nodes based on a child element?
- LINQ grouping and aggregating data with conditions
- Working with HtmlAgilityPack, nested List and Linq
- Selecting Items from Class Hierarchy Using LINQ
- LINQ - select filename and filesize together from Directory.EnumerateFiles
- LINQ WHERE based on comparison to other elements in the result set
- Using XhtmlTextWriter with XmlTextReader
- List of dynamic objects with dynamic groupBy
- Why does this LINQ query assign a value of 1 to a NULL value from the database?
- Linq does not update related item on add new
- Linq to Sql Many to Many relationships
- LinqToSql OrderBy has no Effect
- Linq query returns values instead of setting values (With example) in C#
- How to flatten 2 tier lists of objects and summing properties where other properties are common
- Group a list of url strings based on folder structure
- How to add a constant into LINQ query in BLtoolkit
- Using LINQ to get a string from a tab delimited text file into an array in the way I want
- Linq sort first two numbers in long type
- Remove Item in Dictionary based on Value
- how to convert a date-time in string in C#mvc5 so that it doesnot get null date time value
- Access the element of array property in a generic list via C# LINQ
- NHIbernate (3.1) - Linq group by then order by count issue
- How to perform group by on object list
- Discarding Intermediate results in Linq