Here Mudassar Ahmed Khan has explained with an example, how to solve the following error (exception) when using LINQ to SQL or Lamba expressions on DbSet records returned by Entity Framework in C# .Net.
LINQ to Entities does not recognize the method System.String ToString() method, and this method cannot be translated into a store expression.
↧