Skip to content

Fix/wildcard support#38267

Closed
BrunoSync wants to merge 4 commits into
dotnet:mainfrom
BrunoSync:fix/wildcardSupport
Closed

Fix/wildcard support#38267
BrunoSync wants to merge 4 commits into
dotnet:mainfrom
BrunoSync:fix/wildcardSupport

Conversation

@BrunoSync
Copy link
Copy Markdown

Fix wildcard '*' support for --context parameter in migrations operations

  • Added wildcard '*' handling in MigrationsOperations.UpdateDatabase to iterate all DbContexts
  • Added wildcard '*' handling in MigrationsOperations.AddMigration to iterate all DbContexts
  • MigrationsBundle already delegates to UpdateDatabase, so it works automatically
  • Added tests for both operations with wildcard context

Fixes #38254

@BrunoSync BrunoSync requested a review from a team as a code owner May 13, 2026 02:19
@BrunoSync BrunoSync closed this by deleting the head repository May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dotnet-ef --context * not working

1 participant