Updating / uninstalling from EDMX does not always work. If the model does not update when you click "Update model from the database," say, when you updated the view / table in the database, do the following:
1) Remove view / table from model diagram
2) Switch EDMX to xml view (right-click the edmx file and select "Open With")
3) Search and delete xml entity elements
4) Return to EDMX mode
5) Click "Update Model from Database"
This should reflect any changes you make to the database on your EDMX. It is bulky, but works flawlessly.
In an ideal world, I would expect the database update model to synchronize changes from DB to EDMX. But this does not work most of the time.
pencilslate Oct 08 '09 at 1:33 2009-10-08 01:33
source share