Question about LINQ query

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?
 
M

Miha Markic

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top