As a developer who works with Visual Studio daily, I immediately downloaded the newest IDE and started to use.I enjoyed it from the start and the small UI differences work great.But this post is not about how it works but about a feature that is not working, hopefully yet.
Visual Studio 2019 Edmx Update Our EDMXWe generate SQL scripts for updating our database and then we update our EDMX file, in a separate C Class project.We use the normal EDMX database first approach by following the next few steps after updating tables or columns in our development database. This causes an issue because your new tables and columns are not accessible through Entity Framework Database Context. I struggled with this issue for a while and since Visual Studio had just come out, I could not find much information regarding the issue on the internet. It was also not a strategy I wanted to do every time I updated our database. I now must execute a few additional actions before my EDMX project is successfully updated for use. I believe only the Model.tt file needs to be used by Run Custom Tool but I have decided to run them all in case I missed something. And I hope Microsoft will fix this issue in one of the upcoming updates.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |