Изменения документа Сценарии
Редактировал(а) Alexandr Fokin 2024/03/04 23:51
отредактировано Alexandr Fokin
на 2024/03/04 23:51
на 2024/03/04 23:51
отредактировано Alexandr Fokin
на 2024/02/13 14:48
на 2024/02/13 14:48
Изменить комментарий:
К данной версии нет комментариев
Комментарий
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -1,15 +1,6 @@ 1 1 |(% style="width:211px" %)Модификация существующего IQueryable|(% style="width:1243px" %)Remove OrderBy from an IQueryable<T> 2 2 [[https:~~/~~/stackoverflow.com/questions/10591010/remove-orderby-from-an-iqueryablet>>https://stackoverflow.com/questions/10591010/remove-orderby-from-an-iqueryablet]] 3 -|(% style="width:211px" %)Перенос IQueryable между DbContext|(% style="width:1243px" %)((( 4 -Change DataContext of IQueryable 5 -[[https:~~/~~/stackoverflow.com/questions/30706282/change-datacontext-of-iqueryable>>https://stackoverflow.com/questions/30706282/change-datacontext-of-iqueryable]] 6 - 7 -{{code language="c#"}} 8 -typedQuery = _dbContext.Set<TEntity>() 9 - .AsQueryable() 10 - .Provider 11 - .CreateQuery<TProjection>(sourceQuery.Expression) 12 -{{/code}} 13 -))) 14 14 |(% style="width:211px" %) |(% style="width:1243px" %) 4 +|(% style="width:211px" %) |(% style="width:1243px" %) 15 15 6 +