Is there any mechanism for doing a JOIN between an in-memory collection and entity framework while preserving the order.
What I am trying is
var ite
try this:
var list = (from n in efRepo where myInMemoryList.Select(m=>m.RECORD_NUMBER).Contains(n.RECORD_NUMBER) select n).ToList();
Contains will be translated to IN operator in SQL (only if your RECORD_NUMBER member is a primitive type like int, string, Guid, etc)
Contains
IN
RECORD_NUMBER
int
string
Guid