Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2019 .EDMX Update Model From Database Does not work

@ajcvickers I am also facing the same issue.. My web project was created in VS 2015 then after 1 years I start the development on 2017 and just few days back we jumped to 2019 but seems like the same steps working in VS2017 but not in VS2019 -- Steps was : Taking the "Update model From Database".

I can see the procedure successfully added to

  1. GSModel.Store -> Stored Procedure/Functions
  2. GSModel -> Function Import
  3. GsModel - > Complex types

but not able to find the same procedure in code.

Can you please help and any suggestion.

like image 825
vijay sahu Avatar asked Apr 18 '19 06:04

vijay sahu


1 Answers

I also switched to Visual studio 2017 to 2019 recently and today i got same issue while i was trying to refresh my .edmx Model for a table update. It was not adding new class for that table. After lot of google research i found someone in Chinese language complained regarding this issue as he says problem on- visual studio 2019 Preview 1. But since now its fully released problem should be fixed however it seems its still persists. Some Microsoft official blog user also replied that they will fix it asap on this blog post.

Chinese post is here

What can we do now?

My advice is- just have some delay of 2/3 month before using any latest technology release. For now switch back to Visual studio 2017 and this problem never happens on it. Best of luck.

like image 148
Liakat Hossain Avatar answered Oct 20 '22 22:10

Liakat Hossain