How to: Reconcile a Database Diagram with a Modified Database
You save your database diagram when you are ready to update the database to match your diagram. However, if other users have updated the database since you opened your diagram, their changes might affect your diagram and vice versa.
Saving your diagram will reconcile the database with your diagram by overwriting other users' changes so that the database will match your diagram.
Note
Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see Customizing Development Settings in Visual Studio.
To update a database to match your diagram
Save your database diagram.
If you have not previously saved your diagram, type a name for the diagram in the Save New Database Diagram dialog box and choose OK.
The Save dialog box lists the tables that will be affected when you save your diagram. Choose Yes to continue.
The Database Changes Detected dialog box lists the objects that were modified and will be changed to match your diagram. Choose Yes to save the diagram and accept the list of changes.
Note
If your diagram contains tables and columns that were deleted in the database, only their definitions are recreated in the database when you save your diagram. This process does not restore any data that existed in these objects before their deletion.
To update your diagram to match a modified database
Close your diagram without saving changes.
Right-click the diagram in Server Explorer.
From the shortcut menu click Refresh.
Reopen the diagram.