Answer the question
In order to leave comments, you need to log in
How to deal with this problem?
I'm learning "ef core 2" from a book by adam freeman.
Here is a link to the model
https://github.com/Apress/pro-ef-core-2-for-asp.ne...
Answer the question
In order to leave comments, you need to log in
Hello,
I'm talking in the ball, because I don't see the project and there is not enough data.
Most likely, you need to add Microsoft.EntityFrameworkCore.SqlServer to the nuget packages in addition to the already connected Microsoft.EntityFrameworkCore.
Startup.cs should also contain UseSqlServer if you are working with MS SQL database
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question