Consider this LINQ To SQL query. It\'s intention is to take a string[] of search terms and apply the terms to a bunch of different fields on the SQL table:
s
I was getting the same error, but none of the solutions posted above worked for me.
What worked for me was to cast db.Custs into a list first, as so:
db.Custs
List =db.Custs.ToList.Where(...
I have no idea why it worked, but it did.