Answers for "select query in linq to select the same list if 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

C# Answers by Framework

Browse Popular Code Answers by Language