Can't find ADO.net Entity Data Model template in VS2017

前端 未结 21 3348
我寻月下人不归
我寻月下人不归 2020-11-30 06:16

I was trying to create an ASP.NET MVC web application in Visual Studio 2017. I need to take an EF database-first approach for the work.

Unfortunately I can\'t find t

21条回答
  •  时光说笑
    2020-11-30 06:58

    I had to create a new project using .Net 4.5.2 then I was able to add the ADO.NET Entity Data Model.

    1. File -> New Project
    2. Select Web -> ASP.NET Web Application (.NET Framework)
    3. Set Framework at bottom of window to .NET Framework 4.5.2
    4. Use Empty Template
    5. Right click project (not your solution) -> Add -> New Item
    6. Select Data -> ADO.NET Entity Data Model

提交回复
热议问题