We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: EntityFrameworkCore 1.1.0 (SQL)
Hi,
i can't figure out how to access the DbContext from a readonly property in the model.
Maybe with the IEntityMaterializerSource (optionsBuilder.ReplaceService...) and using another constructor to inject the current DbContext?
Thanks for help.
Sebastian
The text was updated successfully, but these errors were encountered:
@sepplK Not really possible right now unless you are willing to hack internal code. Covered by #626 and see my comments on #7124
Sorry, something went wrong.
No branches or pull requests
Version: EntityFrameworkCore 1.1.0 (SQL)
Hi,
i can't figure out how to access the DbContext from a readonly property in the model.
Maybe with the IEntityMaterializerSource (optionsBuilder.ReplaceService...) and using another constructor to inject the current DbContext?
Thanks for help.
Sebastian
The text was updated successfully, but these errors were encountered: