简体   繁体   English

在VS2012中找不到EF向导,我需要重新安装某些软件吗?

[英]Can't find EF Wizard in VS2012, Do I need to resinstall something?

I'm using VS2012, and want to create a model first EF model. 我正在使用VS2012,并想创建一个模型第一个EF模型。 If I pick Add/Class then pick the Data option I don't see any of the EF tools there. 如果我选择“添加/类”,然后选择“数据”选项,那么我看不到任何EF工具。 Problem is that I'm using EF 5.0 and I have no idea how to get the EDMX wizard stuff back into VS... Is this a EF power tool? 问题是我使用的是EF 5.0,但我不知道如何将EDMX向导的内容放回VS。这是EF电动工具吗? Or is it a DBContext generator thing I'm missing? 还是我缺少的DBContext生成器?

I already uninstalled EF 6.0 and installed EF 5.0 through NuGet, but still can't see the EDMX template creator wizard when trying to add a class.... 我已经通过NuGet卸载了EF 6.0并安装了EF 5.0,但是在尝试添加类时仍然看不到EDMX模板创建器向导。

Any help is appreaciated. 任何帮助表示赞赏。

Ok somehow I had uninstalled the EF tooling, after downloading and installing this: 确定,在下载并安装此工具后,我已经以某种方式卸载了EF工具:

http://www.microsoft.com/en-us/download/details.aspx?id=40762 http://www.microsoft.com/zh-cn/download/details.aspx?id=40762

Everything came back... 一切都回来了...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM