I'm trying to connect Azure Functions (Isolated) with EF Core 7.0.1 using NET 7.
Add-Migration throw an error: Unable to create an object of type 'MyDbContext'.
Error descriptions
All necessary packages already installed.
Here is my project: Folder structure
- MyDbContext.cs:
DbContext
- Program.cs:
Add DbContext
with correct connection string
Am I missing something else?
Thanks.