How can I make this orderby code work thisEntity Framework query
This is the orderby part of the query
orderby (double)b.score * Math.Pow( (1 + Math.Log(b.total_votes)), 0.2)
I get this exception:
LINQ to Entities does not recognize the method 'Double Log(Double)' method, and this method cannot be translated into a store expression.
How can I make it work?