即使在安装后 ADO.NET 也不见了 [英] ADO.NET is missing even after the installation

查看:29
本文介绍了即使在安装后 ADO.NET 也不见了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 ADO.NET 实体,但我仍然缺少新项目中的模型.我在网络上进行了研究,发现了几个对我没有多大帮助的解决方案.我尝试重新安装实体框架,添加(在我的情况下更新)项目中的程序集,从C:\ProgramData\Package Cache"安装EFTools.msi".任何想法发生了什么?我使用的是 DreamSpark 的 Visual Studio 2013.

I've just installed the ADO.NET entity but I'm still missing the model in New Project. I made a research around the web and I found several solutions that didn't help me a lot. I tried to reinstall the Entity Framework, to add (in my case update) the assemblies from the project, to install the "EFTools.msi" from "C:\ProgramData\Package Cache". Any ideas what's going on? I'm using Visual Studio 2013 from DreamSpark.

推荐答案

实体框架模型是一个文件项,而不是一个项目.因此,首先创建一个类库,然后在类库中使用 Add new item.. 添加您的 ADO.NET 实体框架数据模型:

The entity Framework Model is a file item, not a project. So create a Class Library first and then in the class library use the Add new item.. to add your ADO.NET Entity Framework Data Model:

这篇关于即使在安装后 ADO.NET 也不见了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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