I am using Entity Framework in my C# based code. I am running into an unexpected weirdness and am looking for suggestions.
Case 1, 2, 3, 4...
Projects:
RivWorks
Thread's a bit old, but I only just encountered this, and nothing on the 'net was the answer. One site mentioned what lead to the answer, which was a data type issue, but sadly I can't find it again, so I'm posting my solution here. Maybe some future searcher will derive benefit from it.
Original: IQueryable test = from r in Records where r.Record_ID == 100 select r;
where Records is an IQueryable resulting from a prior LINQ expresson.
The fix is to cast Records: (IQueryable
Hope this helps...