即使在安装后 ADO.NET 也不见了 [英] ADO.NET is missing even after the installation
问题描述
我刚刚安装了 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屋!