You tried:
.SingleOrDefault() != null
I am not familiar with RIA, but sometimes these alternative equivalent expressions work with EF.
In addition, with EF you can use WHERE IN (...)SQL-style with .Any(...).
From the top of my head, this works:
entities.Where(e => ids.Any(i => e.Id == i))
ids may be a list of identifiers, another list of objects or a subquery, IIRC.
source
share