-
Notifications
You must be signed in to change notification settings - Fork 2k
Document ConfigureDbContext method and AddDbContext precedence changes in EF Core 8.0 #5118
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
base: live
Are you sure you want to change the base?
Conversation
… 8.0 Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://gh.io/copilot-coding-agent-docs Update progress by changing the PR description to a nicely formatted summary of the changes that includes fixing #4923
entity-framework/core/what-is-new/ef-core-8.0/breaking-changes.md
Outdated
Show resolved
Hide resolved
entity-framework/core/what-is-new/ef-core-8.0/breaking-changes.md
Outdated
Show resolved
Hide resolved
entity-framework/core/what-is-new/ef-core-8.0/breaking-changes.md
Outdated
Show resolved
Hide resolved
entity-framework/core/what-is-new/ef-core-8.0/breaking-changes.md
Outdated
Show resolved
Hide resolved
…nd improve breaking changes Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Updated PR description with a nicely formatted summary that includes fixing both issues #4588 and #4923. |
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
samples/core/Miscellaneous/ConfiguringDbContext/ConfigureDbContextSample/Program.cs
Outdated
Show resolved
Hide resolved
samples/core/Miscellaneous/ConfiguringDbContext/ConfigureDbContextSample/Program.cs
Show resolved
Hide resolved
samples/core/Miscellaneous/ConfiguringDbContext/ConfigureDbContextSample/Program.cs
Show resolved
Hide resolved
samples/core/Miscellaneous/ConfiguringDbContext/ConfigureDbContextSample/Program.cs
Show resolved
Hide resolved
… remove BlogContext region, adjust endregion placement Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
samples/core/Miscellaneous/ConfiguringDbContext/ConfigureDbContextSample/Program.cs
Show resolved
Hide resolved
samples/core/Miscellaneous/ConfiguringDbContext/ConfigureDbContextSample/Program.cs
Show resolved
Hide resolved
samples/core/Miscellaneous/ConfiguringDbContext/ConfigureDbContextSample/Program.cs
Show resolved
Hide resolved
…ppets Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
samples/core/Miscellaneous/ConfiguringDbContext/ConfigureDbContextSample.cs
Show resolved
Hide resolved
samples/core/Miscellaneous/ConfiguringDbContext/ConfigureDbContextSample.cs
Show resolved
Hide resolved
samples/core/Miscellaneous/ConfiguringDbContext/ConfigureDbContextSample/Program.cs
Outdated
Show resolved
Hide resolved
.../Miscellaneous/ConfiguringDbContext/ConfigureDbContextSample/ConfigureDbContextSample.csproj
Outdated
Show resolved
Hide resolved
…te sample directory Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
samples/core/Miscellaneous/ConfiguringDbContext/ConfiguringDbContext.csproj
Show resolved
Hide resolved
samples/core/Miscellaneous/ConfiguringDbContext/ConfigureDbContextSample.cs
Outdated
Show resolved
Hide resolved
…o net9.0 Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
This PR documents the
ConfigureDbContext
method and clarifies the breaking change in EF Core 8.0 regarding multipleAddDbContext
calls.Overview
This PR addresses two related issues:
Breaking Changes Documentation (EF Core 8.0)
Enhanced the breaking changes documentation for multiple
AddDbContext
calls with:ConfigureDbContext
method, with a link to detailed documentationConfigureDbContext
method (EF Core 9.0+)ConfigureDbContext Documentation (EF Core 9.0)
Added comprehensive documentation for the
ConfigureDbContext
method introduced in EF Core 9.0:Key Capabilities
ConfigureSqlEngine
Documentation Includes
ConfigureDbContext
methodSample Code
ConfigureDbContextSample
Technical Clarifications
AddDbContext
calls now use last-wins precedence (changed in EF Core 8.0)ConfigureDbContext
methodFixes #4588
Fixes #4923
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.