|
OrderByDescending + Include
|
|||
---|---|---|---|
#18+
Подскажите что не так? Проблема возникает, когда добавляется сортировка OrderByDescending(p => p.Name) Код: c# 1.
вот эксепшн The Include path expression must refer to a navigation property defined on the type. Use dotted paths for reference navigation properties and the Select operator for collection navigation properties. Parameter name: path ... |
|||
:
Нравится:
Не нравится:
|
|||
29.10.2016, 19:52 |
|
OrderByDescending + Include
|
|||
---|---|---|---|
#18+
Не сразу, но ответ нашел http://stackoverflow.com/questions/36495166/mvc5-combine-db-include-with-orderby ... |
|||
:
Нравится:
Не нравится:
|
|||
29.10.2016, 21:16 |
|
|
start [/forum/topic.php?fid=17&fpage=9&tid=1349349]: |
0ms |
get settings: |
11ms |
get forum list: |
13ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
42ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
44ms |
get tp. blocked users: |
2ms |
others: | 13ms |
total: | 148ms |
0 / 0 |