Search code examples
visual-studioentity-frameworkentity-framework-6visual-studio-2019

Unable to add Stored procedure in Database first EDMX file in VS2019 v16.11.1 with EF v6.4.4


I am facing a specific issue with VS2019 v16.11.1 and EF v6.4.4 where when I try to add a new Stored procedure in my edmx file, it shows successfully added, but in actual, the stored procedure is not added on edmx file.

This approach has been working for years and I started facing this issue from last 1 week or so (most probably i upgraded VS 2019 after that).

Any other developers facing this issue and any workarounds?

There is a reported issue in VS community as here


Solution

  • Based on the answer for the comment, the reason is that VS 2019 is currently unable to let us update our EDMX file.

    And the solution is that downgrading VS or wait for it to be fixed in the new version of VS.