ADO.NET实体框架:更新向导未添加新表

编程入门 行业动态 更新时间:2024-10-09 11:24:58
本文介绍了ADO.NET实体框架:更新向导未添加新表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我创建了新表但是当我从数据库中单击更新模型时,没有添加新表。我尝试设置主键和所有,但它也无法工作。当我从数据库中单击更新模型时,在对话框中的添加列中,我选择了表,但没有表中的那些表。因此,当我单击完成时,没有新表被添加到模型中。我不知道为什么我的表没有显示在添加列中。有人知道它有什么问题吗?

I had created new tables but when I click update model from database, the new tables werent added. I tried setting primary keys and all, but it couldnt work too. And when I click the update model from database, in the dialog box, the "add" column, I selected Table but none of the tables stated there. So when I click finish, none of the new tables is being added to the model. I dont know why my tables not shown in the add column. Anyone know what is wrong with it?

推荐答案

我认为他没有收到任何错误信息,所以他不能发一个。 您确定您拥有正确的数据库连接吗? 项目是否与当前数据库或数据库的旧版本相关联? 来自德国的问候 Ralf I think he didn't get any error message, so he can't post one. Are your sure, that you have the correct database Connection? Is the Project connected with the current database or an old version of your database? Greetings from Germany Ralf

更多推荐

ADO.NET实体框架:更新向导未添加新表

本文发布于:2023-10-10 22:06:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1479889.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:向导   实体   框架   ADO   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!