Edmx刷新或更新mvc4中的问题 [英] Edmx refresh or update problem in mvc4

查看:76
本文介绍了Edmx刷新或更新mvc4中的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在sql server中完成更改后刷新edmx文件。

How to refresh edmx file after done changes in sql server .

推荐答案

1)右键单击edmx模型查看器并选择从数据库更新模型。



2)在打开的向导中选择刷新选项卡。



3)现在选择要更新的特定数据库实体或整个表或程序列表。



4)右键单击'tt'文件并选择'运行自定义工具'选项以反映实体背景的变化。





希望这对你有所帮助。
1) Right click on the edmx model viewer and choose 'Update Model from Database'.

2) Choose the 'Refresh' tab in the wizard opened.

3) Now choose the specific database entity or entire table or procedure list to be updated.

4) The right click on the 'tt' files and choose option 'Run Custom Tool' to reflect the changes to entity context.


Hope this is helpful for you.


这篇关于Edmx刷新或更新mvc4中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆