Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Entity Framework 6 is installed in Visual Studio 2019. I want to create Database first EF. But ADO.NET Entity Frame work is missing in ASP.NET Core WebApplication project. But, it's there in ASP.Net Framework.

In ASP.NET Core WebApplication, Why ADO.NET EF is missing? Should any package be installed to use ADO.NET EF?

What I have tried:

Entity Framework 6 is installed
Posted
Updated 16-Jun-20 2:44am

1 solution

You have to install appropriate EF - for Core. For further details, please see: Installing Entity Framework Core - EF Core | Microsoft Docs[^]

Here is a list of possible EF Core database providers: Installing Entity Framework Core - EF Core | Microsoft Docs[^]

You can also use EF Core from NuGet:
- PostgreSql EF Core[^]
- MySql EF Core[^]
- etc.

[EDIT]
You can create database first within EF. Follow the steps from:
Entity Framework Core with Existing Database[^]
Entity Framework Database First In ASP.NET Core[^]
 
Share this answer
 
v2
Comments
Richard Deeming 16-Jun-20 9:25am    
EF6 also works in .NET Core now:
NuGet Gallery | EntityFramework 6.4.4[^]
sunpop 16-Jun-20 11:52am    
Thank you for your response. But still ADO.NET is missing
Maciej Los 16-Jun-20 15:59pm    
See updated answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900