实体框架 - “从数据库更新”而不是添加表

时间:2021-12-05 22:51:09

I am trying to add new table to an existing model. There are no errors, but the table is not adding to the model. Please let me know, if I am missing anything here.

我正在尝试将新表添加到现有模型中。没有错误,但表格没有添加到模型中。如果我在这里遗漏任何东西,请告诉我。

Steps - 1. Right click on the model and click 'update from database' 2. in the update wizard - choose the table to be added 3. click finish

步骤 - 1.右键单击模型,然后单击“从数据库更新”2.在更新向导中 - 选择要添加的表3.单击完成

Thanks, Arthi

1 个解决方案

#1


Reinstalling EF 6 tools fixed the problem

重新安装EF 6工具解决了这个问题

https://www.microsoft.com/en-in/download/details.aspx?id=40762

#1


Reinstalling EF 6 tools fixed the problem

重新安装EF 6工具解决了这个问题

https://www.microsoft.com/en-in/download/details.aspx?id=40762