Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

linq where id in list

var result = _dataContext.table.Where(x => idList.Contains(x.Id));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #linq #id #list
ADD COMMENT
Topic
Name
8+8 =