Now I'm using EF 6 database first in my solution , I have entities that pre-defined in the database. I now need to update the database and add tables !
I can't find the true way to follow
Now I'm using EF 6 database first in my solution , I have entities that pre-defined in the database. I now need to update the database and add tables !
I can't find the true way to follow
Open the edmx file and on a black space right click and use Update Model From Database...
This is an alternative and the result is also much cleaner imo, you can also delete the .edmx file completely and remove the database connection string from you projects .config file. Then repeat the process of adding a new edmx file.