Linq OrderByDescending slow

Linq OrderByDescending slow

Postby Andrew » Tue 28 Apr 2009 22:13

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
Andrew
 
Posts: 9
Joined: Thu 28 Aug 2008 20:24

Postby AndreyR » Thu 30 Apr 2009 11:58

Please provide some examples of the LINQ queries you made tests with.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to LinqConnect (LINQ to SQL support)