Open
Description
This link needs an example that shows the instantiation of a dBContext object where the constructor includes an IConfiguration parameter.
There are a number of stackoverflow questions on this. I have not really found a clear answer or example.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 055bb8db-139d-beb5-61c1-47cf1ea6ea93
- Version Independent ID: b0a3d5ad-b62c-1ff4-386a-f11e350eea0c
- Content: DbContext Lifetime, Configuration, and Initialization - EF Core
- Content Source: entity-framework/core/dbcontext-configuration/index.md
- Product: entity-framework
- Technology: entity-framework-core
- GitHub Login: @ajcvickers
- Microsoft Alias: avickers