Write guidance for using Entity Framework migrations with Aspire solutions #64
Labels
database
Content related to database.
doc-enhancement
Improve the current content [org][type][category]
documentation
Improvements or additions to documentation
help wanted
Good for community contributors to help [up-for-grabs]
Pri1
High priority, do before Pri2 and Pri3
📌 seQUESTered
Identifies that an issue has been imported into Quest.
Type of issue
Missing information
Description
my AppHost program.cs:
Then i want to run it but first make database from my dbcontext that used in admin endpoint.
admin endpoint program.cs is:
and my dbcontext is :
So how should i use Add-Migration and Update-Database?
Page URL
https://learn.microsoft.com/en-us/dotnet/aspire/database/sql-server-entity-framework-component?tabs=dotnet-cli
Content source URL
https://github.com/dotnet/docs-aspire/blob/main/docs/database/sql-server-entity-framework-component.md
Document Version Independent Id
2cd52f56-0ee5-8f04-c2b5-fe52c7f8109f
Article author
IEvangelist
Associated WorkItem - 186558
The text was updated successfully, but these errors were encountered: