LINQ to Entities does not recognize the method 'Int32 Parse(System.String)' method,
问题 I am using Entity Framework, and I have a line of code that convert string field (id)to int and compare with a number students = students.Where(s => (Int32.Parse( s.id)>5555)); Whenever I try to run it I receive rhis error. "LINQ to Entities does not recognize the method 'Int32 Parse(System.String)' method, and this method cannot be translated into a store expression." I have tried seveal different things and nothing is working, so any help would be great. 回答1: Firstly I would highly