Understanding Entity Data Models

The best way to understand EDMs is to create one. First, create a new Visual Basic project for the Console and name it EntityFramework. Save the new project immediately, so that all references required by the EF are updated. The next steps require the Northwind database that you installed in Chapter 21, “Introducing ADO.NET and DataSets.” Right-click on the project name in Solution Explorer and select Add New Item. When the Add New Item dialog box appears, move to the Data Node, select the ADO.NET Entity Data Model item template, and name it Northwind, as shown in Figure 26.1.

Image

FIGURE 26.1 Adding a new Entity ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.