Visual Studio 2015 是否包含 .edmx 支持? [英] does Visual Studio 2015 include .edmx support?

查看:25
本文介绍了Visual Studio 2015 是否包含 .edmx 支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 2015 是否包含 .edmx 支持?

Does Visual Studio 2015 include .edmx support?

我有一个包含 .edmx 数据模型的项目,在 VS2015 中双击它只会打开 XML 编辑器.

I have a project that includes an .edmx data model and double-clicking it in VS2015 just opens the XML editor.

文件->新建对话框中没有 DbContext 生成器选项.

There's no DbContext generator option in the file->new dialog.

推荐答案

在安装VS2015的过程中,进入高级选项并选择Web或数据库开发工具.现在安装程序安装 EF 工具(Designer + 模板).如果你已经安装了 VS,到 Programs &控制面板中的功能并修改当前安装的VS2015.

During setup of VS2015, go to the advanced options and select Web or Database Development tools. Now the Installers install the EF tools (Designer + templates). If you have VS already installed, to the Programs & features in control panel and modify the currently installed VS2015.

这篇关于Visual Studio 2015 是否包含 .edmx 支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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