Read more »
To update the .edmx file when the database changes

- In the Model Browser, right-click the .edmx file and select Update Model from Database.
- The Update Model Wizard starts. If there is no database connection
specified, the Choose Your Database Connection dialog box appears.
Otherwise, the Choose Your Database Objects dialog box appears.
- If the Choose Your Database Connection dialog box appears, specify a database connection. Otherwise, go to the next step.
- For details about specifying a connection, see Choose Your Data
Connection Dialog Box (Entity Data Model Wizard). When you have
specified the connection, click Next to display the Choose Your Database
Objects dialog box.
- Click the Add tab.
Nodes for tables, views, and stored procedures are displayed. If any
objects have been added to the database (or were not included in the
previous storage model), you can expand the corresponding node to view
the objects that are available to add to the conceptual model.
- If an object has been deleted from the conceptual model but has not also
been deleted from the storage model, the object will not be available
to add to the conceptual model.
- Expand the Tables, Views, and Stored Procedures nodes, and check the objects you want to add to the .edmx file.
- Click the Refresh tab.
Nodes for tables, views, and stored procedures
that are included in the existing storage model are displayed. Any
changes that have been made to these database objects will be reflected
in the updated storage model. Changes to the conceptual model are made
when columns are added to a table or view.
- Click the Delete tab.
Nodes for tables, views, and stored procedures
are displayed. If an object has been deleted from the database and was
included in the previous storage model, you can expand the corresponding
node. The objects in these nodes will be deleted from the updated
model.
Click Finish to update the .edmx file with the database changes.
Reference - MSDN
Posted by : Stranger
Date :Saturday, May 17, 2014