Why is my edmx file not updating

前端 未结 7 1671
傲寒
傲寒 2021-02-14 12:01

I have a database first ASP.NET MVC 5 EF6 project. I\'m using VS2015 CE. When I change my database (SQL Server 2012), I then go to VS to update my edmx file like this:

7条回答
  •  情话喂你
    2021-02-14 12:23

    I faced the same issue. The most reasonable solution could be to delete .edmx file and to regenrate it. Keep in mind that you should always try to update model first if nothing work then do what I just said.

提交回复
热议问题