-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuring an IModelCacheKeyFactory causes "the requested configuration is not stored in the read-optimized model" #3851
Comments
Was docced as part of dotnet/efcore#25154, but no sure if it is noted as a breaking changed. |
Thanks, missed that. Leaving open to see about adding a breaking change note. |
I got the same error when I created a DbContext and tried to invoke dbContext.Model.GetChangeTrackingStrategy(). |
@sjb-sjb Why do you need to call |
Well, I want to check the caller’s configuration of the dbcontext to make sure it matches what my library requires. |
Poaching |
With 6.0.4, configuring an IModelCacheKeyFactory causes the following to be immediately thrown:
This does not happen in 5.0. If this is intentional for some reason, we may be missing a breaking change note?
/cc @AndriySvyryd
Repro
The text was updated successfully, but these errors were encountered: