如何更新edmx文件 [英] how to update edmx file
本文介绍了如何更新edmx文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的先生
如果我在我的数据库中创建新表,如何在asp.net中更新我的edmx文件?
dear sir
how to update my edmx file in asp.net if i am creating new table in my database?
推荐答案
在解决方案中打开edmx文件,右键单击它 - >选择更新选项 - >
然后你想得到意见和表格列表--->检查表选项---->点击更新。
请注意:保持实体名称不变。
open a edmx file in your solution, Right click on it --> select update option -->
then you want to get list of views & table ---> check it on table option ----> click on update.
Note that:keep entities name are as it is.
这篇关于如何更新edmx文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文