Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to query items with any id in a list of ids linq c#

var userProfiles = _dataContext.UserProfile
                               .Where(t => idList.Contains(t.Id));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #query #items #id #list #ids #linq
ADD COMMENT
Topic
Name
9+9 =