Can't find entity data model missing visual studio 2019.

Raja Ganapathy 1 Reputation point

i have installed Entityframework 6 also but entity data model not visible

Entity Framework 6.0
Entity Framework 6.0
A Microsoft open-source object-database mapper for .NET.
230 questions
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
168 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Roger 26 Reputation points

    you can't make an ADO.Net Entity Data Model with an interface with .NET Core, Only with .NET Framework.

    5 people found this answer helpful.

  2. Yihui Sun-MSFT 791 Reputation points

    Hi @Raja Ganapathy ,

    but entity data model not visible

    Do you mean you can't find "Ado.Net Entity Data Model"?

    • You can right-click on the Models folder and select Add New Item->Data->Ado.Net Entity Data Model.


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Best Regards,

    2 people found this answer helpful.

  3. Temiya Ahmad 11 Reputation points

    I solved the same problem by following these:

    1)While Creating project don't select class Library(.NET Standard) Choose Class Library (.NET Framework)

    2)Choose ASP.NET Web Application (.NET Framework)

    3) Go to Tools -> Get Tools and features.
    Select Individual components tab and check Entity Framework 6 tools under SDK's, libraries, and framework section

    4)Remember you can't make an Entity Data Model with an interface with .NET Core, its only possible with .NET Framework.

    Hope these will solve yours too.

    2 people found this answer helpful.

  4. Duane Arnold 3,211 Reputation points

    @Raja Ganapathy

    Why would you need to install EF 6 in regards to using VS2019?

    I created a .NET Framework 4.7 WebAPI project, added a 'new item' to project, selected 'Data' and selected 'Data Model' that took me through the wizard of creating a EF model from an existing database, which I would assume it would be some EF 6.x version.

    Maybe in your creating of the assumed WebAPI project, you selected a .NET Core framework by mistake, and EF Core doesn't use the 'entity data model' that can be selected from 'Data'.