Remove connectionName from "Add Npgsql database context with enrichment" code example #2337
Labels
doc-bug
Problem with the content; needs to be fixed [org][type][category]
in-pr
okr-quality
Content-health KR: Concerns article defects/freshness or build warnings.
Pri1
High priority, do before Pri2 and Pri3
📌 seQUESTered
Identifies that an issue has been imported into Quest.
Type of issue
Code doesn't work
Description
In the Add Npgsql database context with enrichment code example, the line:
is invalid because, as is stated few lines later, "The
EnrichNpgsqlDbContext
won't make use of theConnectionStrings
configuration section since it expects aDbContext
to be registered at the point it's called.Page URL
https://learn.microsoft.com/en-us/dotnet/aspire/database/postgresql-entity-framework-integration?tabs=dotnet-cli
Content source URL
https://github.com/dotnet/docs-aspire/blob/main/docs/database/postgresql-entity-framework-integration.md
Document Version Independent Id
b0430379-092c-6361-27aa-a4c48d6b641e
Article author
@IEvangelist
Associated WorkItem - 372041
The text was updated successfully, but these errors were encountered: