Page 1 of 1

Linq OrderByDescending slow

Posted: Tue 28 Apr 2009 22:13
by Andrew
Hello.

I have noticed that adding an OrderByDescending to the end of a linq query adds about 90ms of time. Is this just the overhead of linq? Or is there something wrong? The equivalent query in sql runs much quicker.

Thanks
Andrew

Posted: Thu 30 Apr 2009 11:58
by AndreyR
Please provide some examples of the LINQ queries you made tests with.