Commands: Discover contexts registered in the service provider #2293
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
(Reported by @glen-84 in #2256)
I'm able to add a DbContext from another assembly using
services.AddEntityFramework().AddDbContext<My.ForumDbContext>()
, but the context is not listed when you rundnx . ef context list
– is it possible to make the migration tools see all DbContexts added in this manner (i.e. via the EntityFrameworkServicesBuilder)?The text was updated successfully, but these errors were encountered: