Question about LINQ query

  • Thread starter Thread starter Roy
  • Start date Start date
R

Roy

I got an error when I run a LINQ query
"LINQ to Entities does not recognize the method 'Double Abs(Double)' method,
and this method cannot be translated into a store expression."
I do have a Math.Abs in the where and orderby clauses. Is there a way to
work around this isue?
 
You can still filter on the client side (by adding these clauses on the
outside of the query).
Not sure about a better (on server) workaround.
 
Back
Top