|
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&msg=39337068&tid=1349349]: |
0ms |
get settings: |
10ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
165ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
48ms |
get tp. blocked users: |
2ms |
others: | 12ms |
total: | 274ms |
0 / 0 |