Why is my edmx file not updating

前端 未结 7 1656
傲寒
傲寒 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:42

    After updating or refreshing and not getting expected results. I worked as follows: 1. I added procedure without importing it. 2. I opened edmx with text editor and added my return types having complex type like other already present in it. 3. added all values like other procedures had.

    That solved my problem!

提交回复
热议问题