开发者

Visual Studio UPDATE-EDMX feature: How it works

When you use the update-edmx feature of visual studio.

Your EDMX schema 开发者_JAVA技巧is merged against a database.

What Rules Apply to changes merging?

UPDATE: looks like new db fields are added to your edmx, modified fields are merged in someway and deleted ones are left in your schema.


TheRules

Added Notes

If any objects have been added to the database (or were not included in the previous storage model), you can add them to the conceptual model -selecting them from the add tab in the update-edmx window.

Updated Nodes

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.

Deleted Nodes

If an object has been deleted from the database and was included in the previous storage model. The objects in these nodes will be deleted from the updated model.

via MSDN

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜