Answers for "linq get list of objects from list of ids"

C#
0

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

var userProfiles = _dataContext.UserProfile
                               .Where(t => idList.Contains(t.Id));
Posted by: Guest on September-02-2020

Code answers related to "linq get list of objects from list of ids"

C# Answers by Framework

Browse Popular Code Answers by Language