I am trying to select from where in out of the database using Linq. The query I would be trying to reproduce is:
"Select * From Avatars Where userId IN (1, 2, 3)"
How can this be written in lambda if I have a List of userIds.
I am stuck where the !! are and have a List of userIds:
context.avatars.Where(a => a.userId == !!(userIds)!! )