Using Entity Framework

Peter B 21 Reputation points
2021-03-29T03:38:50.96+00:00

I am using entity framework with a wpf project. EF is installed, but when I click to add new item, I cannot add EF into the project. The add option doesn't appear. I want to generate a logical entity directly from the database. I used to be able to do this. Now I can't.
Visual Studio 2019 Community Edition

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
{count} votes

Accepted answer
  1. Daniel Zhang-MSFT 9,611 Reputation points
    2021-03-30T05:33:31.27+00:00

    Hi PeterB-7093,
    Please follow the steps below to check if the component "Entity Framework 6 tools" has been installed?

    1. Go to Tools -> Get Tools and features
    2. Select Individual components tab and check Entity Framework 6 tools under SDK's, libraries, and framework section.
      82590-330.png
      Best Regards,
      Daniel Zhang

    If the response 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.

    0 comments No comments

0 additional answers

Sort by: Most helpful