Partager via


Choose Your Database Objects Dialog Box (Update Wizard)

The Choose Your Database Objects dialog box is part of the Update Model Wizard. The dialog box appears after you right-click anywhere in the Model Browser window and select Update Model from Database. Three tabs, Add, Refresh, and Delete, are visible in the Choose Your Database Objects dialog box. This topic summarizes the functionality of each tab. For details about the changes the Update Model Wizard makes to an EDM, see Changes Made to an EDM by the Update Model Wizard.

Tab Description

Add

Displays a tree view of database objects that are not represented in the current EDM. When you select an object to add to the EDM, the Update Model Wizard makes changes to the conceptual model, storage model, and mappings.

Refresh

Displays a tree view of all objects that are present in both the database and the storage model. Definitions for all items shown here will be overwritten in the storage model.

Delete

This tab displays a tree view of all objects that are in the storage model, but not in the database. All items shown here will be deleted from the storage model.

Note

When you refresh and delete objects, changes are only made to the storage model. Any changes you want to make to the conceptual model and mappings must be made manually. For information about defining an EDM manually, see Defining an Entity Data Model (Entity Framework Tasks).

See Also

Tasks

How to: Update an EDM when the Database Changes

Other Resources

Update Model Wizard