对不起,这可能是一个非常愚蠢的问题。 请原谅我,因为我来自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...
更多推荐
发布评论