You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Query: Select.Include.OrderBy ignores the include #10101
Something strange happens to me, at first run (request) warning is there, then everything is silent, EF core 2.2.3, contextLifetime and optionsLifetime are scoped, the warning reapers one time once app is restarted.
Activity
maumar commentedon Feb 14, 2018
workaround is to apply Include after the order by
Fix to #10101 - Query: Select.Include.OrderBy ignores the include
Fix to #10101 - Query: Select.Include.OrderBy ignores the include
Fix to #10101 - Query: Select.Include.OrderBy ignores the include
Fix to #10101 - Query: Select.Include.OrderBy ignores the include
Fix to #10101 - Query: Select.Include.OrderBy ignores the include
maumar commentedon Feb 16, 2018
fixed by d527800
Fix to #11053 - Query: include over SelectMany with reference navigat…
Fix to #11053 - Query: include over SelectMany with reference navigat…
Fix to #11053 - Query: include over SelectMany with reference navigat…
MarcelChirtes commentedon Apr 18, 2019
Something strange happens to me, at first run (request) warning is there, then everything is silent, EF core 2.2.3, contextLifetime and optionsLifetime are scoped, the warning reapers one time once app is restarted.
ajcvickers commentedon Apr 18, 2019
@MarcelChirtes This is expected. The query compiles once, at which time you see the warning, and is then cached for future calls.
MarcelChirtes commentedon Apr 19, 2019
@ajcvickers fair point, I assume there's no way to suppress it? Thank you.
ajcvickers commentedon Apr 19, 2019
@MarcelChirtes Any warning can be suppressed using
ConfigureWarningsin theDbContextOptionsBuilderprovided byAddDbContextorOnConfiguring.