Reporter | Alex Berezoutsky (fergard) |
---|---|
Created | Feb 1, 2012 6:24:21 PM |
Updated | Feb 13, 2012 7:59:53 PM |
Resolved | Feb 13, 2012 7:59:53 PM |
Priority | Major |
Type | Feature |
Fix versions | Next |
State | Fixed |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | No subsystem |
Affected versions | 6.1.1 |
Fixed in build | No Fixed in build |
I just hit a bit of code:
That should have been
I think resharper would give a warning if more then one "orderby" or "orderByDescending" is used in a single statement.
.OrderBy(p => p.StartRecord.Date).OrderByDescending(p => p.RevertRecord.Date)
That should have been
.OrderBy(p => p.StartRecord.Date).ThenByDescending(p => p.RevertRecord.Date)
I think resharper would give a warning if more then one "orderby" or "orderByDescending" is used in a single statement.