|
order by coalesce(field1, field2) to linq
|
|||
---|---|---|---|
#18+
каким образом можно записать на linq аналог такого запроса select * from TABLE order by coalesce(FIELD1, FIELD2) ... |
|||
:
Нравится:
Не нравится:
|
|||
14.04.2013, 19:15 |
|
order by coalesce(field1, field2) to linq
|
|||
---|---|---|---|
#18+
Код: c# 1. 2. 3. 4.
... |
|||
:
Нравится:
Не нравится:
|
|||
14.04.2013, 19:25 |
|
order by coalesce(field1, field2) to linq
|
|||
---|---|---|---|
#18+
Этот пример я находил, но он для случае where, у меня же order by ... |
|||
:
Нравится:
Не нравится:
|
|||
14.04.2013, 19:45 |
|
|
start [/forum/topic.php?fid=17&msg=38225135&tid=1350054]: |
0ms |
get settings: |
10ms |
get forum list: |
11ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
35ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
40ms |
get tp. blocked users: |
1ms |
others: | 16ms |
total: | 131ms |
0 / 0 |