DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+9 =
Submit