17
votes

The Issue...

As the title states, I've installed the .NET Core 2.1 SDK and created a new .NET Core 2.1 project. When I go to Project > Add Item... > Data, I do not have the ADO.NET Entity Data Model option.

I am using Visual Studio 2017 15.7.3, which I've installed only hours ago.

The Error and Warning logs are clean.

Any assistance is appreciated.


What I've done so far...

1

1 Answers

13
votes

EntityFramework Core doesn't use the "EDMX" data model designers, it is purely code-first.

See the Getting Started with EF Core on ASP.NET Core with an Existing Database to scaffold a database context from an existing database or create a new model and use migrations to create and update databases.

Update: In .NET Core 3.0, you will be able to use Entity Framework 6 along with .edmx models (which may require VS 2019)