I\'m migrating some stuff from one mysql server to a sql server but i can\'t figure out how to make this code work:
using (var context = new Context()) {
Had a similar problem. Solved it by calling ToList() on the entity collection and querying the list. If the collection is small this is an option.
IQueryable pages = context.pages.ToList().Where(p=>p.serial == item.Key.ToString())
Hope this helps.