您的位置:首页 > 其它

How to: Update an .edmx File when the Database Changes

2016-09-23 10:44 281 查看
https://msdn.microsoft.com/en-us/library/cc716697.aspx

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.

注意:

更新的时候,无法获取修改之后的字段类型。

变通的方法,就是删除掉,那个字段,然后重新Update
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐