1

I use VS2019 Version 16.11.5 .

I Create Web Project With .Net 5

enter image description here

In Add New Item->Data can not find ADO or...

enter image description here

I installed Ef6 enter image description here

Gert Arnold
  • 105,341
  • 31
  • 202
  • 291
ashkufaraz
  • 5,179
  • 6
  • 51
  • 82

2 Answers2

1

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

If you want to scaffold a database context from an existing database or create a new model and use migrations to create and update databases, you could see this page. https://learn.microsoft.com/en-us/aspnet/core/data/ef-rp/intro?view=aspnetcore-6.0&tabs=visual-studio

Jingmiao Xu-MSFT
  • 2,076
  • 1
  • 3
  • 10
0

using NUGET Add the package EntityFrameworkCore, you can add it runing in NuGet console the next comands

Install-Package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore Install-Package Microsoft.EntityFrameworkCore.SqlServer

JavierT
  • 11
  • 1
    The question is not about EF Core – ErikEJ Nov 07 '21 at 12:37
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Nov 07 '21 at 14:27