Adding the Data Model

The first thing to add in the web project is the data source. This can be of different kinds, such as POCO objects and Entity Data Models. The example will be based on the Entity Framework, thus you should add a new entity data model named Northwind.edmx and add to the model the Orders table from the database. Such steps have been described a lot of times in this book (refer to Chapter 26, “Introducing ADO.NET Entity Framework,” for a full discussion), so they will not be shown again in detail. When you have the data, you need a place for presenting and editing the data, so you need a new web form.

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.