Marcos de Lafuente
Results
2
comments of
Marcos de Lafuente
The answer is in your question. Please read the information on the URL you provided. Migrations are design tools that need to construct a DbContext at design time, not at...
There are multiple ways of doing it. IDesignTimeDbContextFactory bypass all of them. If you prefer you can register your DbContext via application services instead on Startup like mentioned here: https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/dbcontext-creation#from-application-services...