Monday, April 29, 2019

VS 2019 won't regen EF models in database first mode

https://developercommunity.visualstudio.com/content/problem/438312/vs-2019-preview2-after-saving-edmx-code-is-not-gen.html

I know we don't want to post every little bug we find, but this seems significant. In short, if you generate your EF layer using database first, and then go back to "Update Model from Database" because you made some schema changes, or added a table...it won't work in VS2019. They will have it included in version 16.1, but I don't know what the release date is for that yet.

It's a pretty significant but in my opinion. I prefer code first, but sometimes you inherit projects that come database first.

VS 2019 won't regen EF models in database first mode Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team