Entity Framework

Entity Framework

Old forum URL: forums.lhotka.net/forums/t/5235.aspx


SouthSpawn posted on Tuesday, August 12, 2008

I downloaded the 3.5 SP1.
 
When I try to add a new item to my project, I don't see the Entity Framework Model as a choice.
 
Has anyone ran into this and solve it.
 
I have read a few articles on this, but haven't found a direct answer.
 
Thanks Guys and Gals,
Mark

mcsean replied on Wednesday, August 13, 2008

Entity Framework is not a VS project type but an item type (like a class). you need to setup a Class Library Project first (or any other Project type), then use the "Add" -> "New Item"  option on the class library you created to add the entity framework model

hope this help..

cheers

 

SouthSpawn replied on Wednesday, August 13, 2008

Hello McSean,
 
I have already tried this, and I still don't see the option :(

Bummer.

Thanks,
Mark

mcsean replied on Thursday, August 14, 2008

 

In this case, you might have to check if the Ado.net Entity Framework is installed. EF is still in its beta version, and it doesn't come with VS 2008.

It is a bit tricky when I first install it. To install the EF 1.0 pre-release version, the latest version at this point. you have to make sure you don't have other version of EF in your PC and you can't install VS 2008 SP1 beta nor .net framework 3.5 SP1 beta prior to the EF, or you have to remove them before installing EF.

cheers

Copyright (c) Marimer LLC