none
ADO.net Entity Data Model template is missing in vs 2019 community, need help RRS feed

All replies

  • Project/Add New Item/Data is where it is located in VS 2019 Community.
    Tuesday, September 24, 2019 1:14 AM
  • Hi,

    Please open VS installer and confirm the component "Entity Framework 6 tools" has been installed?

    Regards,

    Kyle


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, September 24, 2019 2:49 AM
    Moderator
  • I have Entity Framework 6 Tools enabled in VS2019 Community Edition - but still no ADO.NET or any other SQL or other data connection choices in the Visual C#/data section;  I used the installer to upgrade today to the latest release.

    All I get is three choices for adding a new item in data:

    JSON File

    JSON Schema File

    XML File

    So cannot install a database connection to include database in project - help urgently pls!

    Friday, December 6, 2019 8:22 AM
  • I have Entity Framework 6 Tools enabled in VS2019 Community Edition - but still no ADO.NET or any other SQL or other data connection choices in the Visual C#/data section;  I used the installer to upgrade today to the latest release.

    All I get is three choices for adding a new item in data:

    JSON File

    JSON Schema File

    XML File

    So cannot install a database connection to include database in project - help urgently pls!

    I didn't do anything special in installing VS2019 Community. Maybe the install on your machine is bad.

    Friday, December 6, 2019 9:27 PM
  • Oh, I just realised where is the problem! 

    I had the same thing, couldn't find ADO.NET entity data model!

    However what we probably have in common is that we opened "windows desktop app" instead of "windows form app"! 

    So after I opened new windows form app the ADO.NET entity data model appeared!

    Hope this helps!

    • Proposed as answer by AQEELA UROOJ Sunday, January 12, 2020 6:09 PM
    Friday, December 20, 2019 1:26 PM
  • Hi.

    I had the same problem when tried to create a model under App_Data.

    However, when I try the same under the project I get the option!

    Tuesday, December 24, 2019 8:56 PM
  • I had the same issue, ADO.NET Entity Data Model would not show in a Console .NET Core project. I then delete this project and created a Console .NET Framework project and now I see ADO.NET Entity Data Model plus 8 other template. I have Visual Studio 2019 Enterprise.

    M. Saleem Yusuf

    • Proposed as answer by Saleem Yusuf Sunday, January 12, 2020 11:25 PM
    Monday, January 6, 2020 4:45 AM
  • I had the same issue, ADO.NET Entity Data Model would not show in a Console .NET Core project. I then delete this project and created a Console .NET Framework project and now I see ADO.NET Entity Data Model plus 8 other template. I have Visual Studio 2019 Enterprise.

    M. Saleem Yusuf

    EF Core uses Dbcontext scaffolding from the .NET Core Command Prompt or through the Nuget Package Manager Console. So there is no ADO.NET Entity Data Model that is ever going to show in Visual Stuido for a Core project of any type that will implement the ADO.NET Core Entity Framework  based on model creation.

    https://www.entityframeworktutorial.net/efcore/create-model-for-existing-database-in-ef-core.aspx

    https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/powershell

    • Proposed as answer by Saleem Yusuf Sunday, January 12, 2020 11:25 PM
    Monday, January 6, 2020 5:13 AM
  • Thank you it works well.
    Sunday, January 12, 2020 6:10 PM