Why is my edmx file not updating

前端 未结 7 1654
傲寒
傲寒 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:41

    This worked for me :

    1.Build the project after updating EDMX file.

    2.Right click your .tt file in solution explorer.

    3.Select "Run Custom Tool" option.

    This will update the .tt file.

提交回复
热议问题