C# LINQ to Entities does not recognize the method

dexter74

New Member
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 ?
 
Back
Top