我在哪里可以获得实体框架?(Where can I get Entity Framework from?)

编程入门 行业动态 更新时间:2024-10-27 14:29:54
我在哪里可以获得实体框架?(Where can I get Entity Framework from?)

对不起,这可能是一个非常愚蠢的问题。 请原谅我,因为我来自Java背景,我正在努力学习.Net技术。

我试图从他们的网站上关注ASP.Net MVC网站的教程,然后我到达了我需要制作新模型的部分。 当我右键单击他们说我必须选择ADO.Net数据实体模型。 问题是此选项不可用。 我不确定我是否安装了ADO.Net或它是否标准。 我有VS 2008专业版,我在Vista VM上运行(Sun VirtualBox,不想破坏我当前的环境)。

编辑:

谦虚的apoligies。 我走的太快了。 我现在看到SP1是教程的预先要求。 感谢大家

I am sorry this is perhaps a really stupid question. Forgive me because I come from a Java background and I am making an effort to learn .Net technologies.

I am trying to follow the tutorial for an ASP.Net MVC website from their website and I get to the part where I need to make a new model. When I right click they say I must choose ADO.Net Data Entity Model. Problem is this option is not available. I am not sure if I installed ADO.Net or if it comes standard. I have VS 2008 Professional Edition and I am running on a Vista VM (Sun VirtualBox, didn't want to ruin my current environment).

EDIT:

Humble apoligies. I was going too quickly. I now see that SP1 is a pre-req to the tutorial. Thanks everyone

最满意答案

对于实体框架(也称为ADO.NET实体模型),您需要安装VS2008 SP1 (其中还包括所需的.NET 3.5 SP1 )。

您还需要确保为项目选择框架3.5,但对于MVC,我想这应该是这种情况......

您的模板也可能无法正常工作......

For Entity Framework (aka ADO.NET Entity Model) to be there, you'll need to install VS2008 SP1 (which also includes the required .NET 3.5 SP1).

You also need to ensure that framework 3.5 is selected for the project, but for MVC I guess this should already be the case...

It is also possible that your templates are simply not working properly...

更多推荐

本文发布于:2023-07-07 09:05:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1061402.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:我在   可以获得   实体   框架   Framework

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!