A
A
alexxxey_code2021-04-28 10:56:59
ASP.NET
alexxxey_code, 2021-04-28 10:56:59

How to deal with this problem?

6089141492e16972709912.png
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

1 answer(s)
V
Victor P., 2021-05-06
@Jeer

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 question

Ask a Question

731 491 924 answers to any question