I have installed Visual Studio Team System 2008 Architecture version: 9.0.30729.1 SP and Microsoft Net Framework 3.5 SP1.
When I'm going to add a new item I can't find ADO.NET Entity Data Model template.
What's happening?
Thanks!
Create the ADO.NET Entity Data ModelRight-click on your project in the Solution Explorer window and select the menu option Add -> New Item. In the Add New Item dialog, select the Data category. Select the ADO.NET Entity Data Model template, give the Entity Data Model the name Northwind. edmx, and click the Add button.
The Entity Data Model (EDM) is a set of concepts that describe the structure of data, regardless of its stored form. The EDM borrows from the Entity-Relationship Model described by Peter Chen in 1976, but it also builds on the Entity-Relationship Model and extends its traditional uses.
Right-click on your EDMX file, select Open With…, then select XML (Text) Editor. Boom, there is your entire EDMX file as Visual Studio and . Net sees it, in all its XML wonderfulness.
Entity Framework (EF) is an object-relational mapper for . NET developers that allows them to work with relational data using domain-specific objects. It eliminates the majority of the data-access code that developers must routinely write.
Make sure you have VS2008 sp1 (http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&displaylang=en). I had .Net Framework 3.5 SP1 installed but not the VS2008 SP1. ...at least that is what I was doing wrong.
SUMMARY There seem to be multiple causes of this problem as many of the other answers indicate.
END SUMMARY
You may be looking at the wrong level. An Entity Framework Data Model is something that you add to a project, it is not a separate project type.
Right-click on an existing project Select Add, New Item
And then select ADO.Net Entity Data Model...
So, to recap:
Requires Visual Studio 2008 Service Pack 1 (includes .Net Framework 3.5 SP1)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With