D dexter74 New Member Dec 5, 2012 #1 LINQ to Entities does not recognize the method 'Int64 getCount()' method, and this method cannot be translated into a store expression.\[code\]return query.OrderBy(e => e.Person.getCount(), sortDirection);\[/code\]how can I rewrite this line ?
LINQ to Entities does not recognize the method 'Int64 getCount()' method, and this method cannot be translated into a store expression.\[code\]return query.OrderBy(e => e.Person.getCount(), sortDirection);\[/code\]how can I rewrite this line ?