See https://github.com/dotnet/efcore/issues/30364 Also: - ~~Make sure that queries don't use types from evicted model~~ This already happens - Possibly stop evicting models automatically