O'Reilly logo

Visual Basic 2010 Unleashed by Alessandro Del Sole

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding Entity Data Models

The best way to understand Entity Data Models (from here on just EDMs for brevity) is to create one. First, create a new Visual Basic project for the Console and name it EntityFramework. The next steps require the Northwind database that you installed in Chapter 25, “LINQ to SQL.” Right-click on the project name in Solution Explorer and select Add New Item. When the Add New Item dialog appears, move to the Data Node, select the ADO.NET Entity Data Model item template, and name it Northwind.edmx, as shown in Figure 27.1.

Figure 27.1 Adding a new Entity Data Model.

image

When you click Add, the Entity Data Model Wizard ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required