Dynamic Data is a framework that enables you to create a fully functional data-driven web application in only five minutes. In the previous lessons I have shown you how to extend the simple sample application that Microsoft Visual Web Developer 2010 Express creates when you use the ASP.NET Web Application template. In this lesson I show you how to create a data-driven application that uses the Dynamic Data framework.
Microsoft Visual Web Developer 2010 Express provides two different templates for creating applications that use Dynamic Data:
ASP.NET Dynamic Data Entities Web Application — This template uses an Entity Data Model to access the data.
ASP.NET Dynamic Data Linq to SQL Web Application — This template uses LINQ to SQL to access the data.
In this lesson I use the ASP.NET Dynamic Data Entities Web Application template. Unlike with the other templates that I have demonstrated in this book, you cannot immediately run a new web application that uses the Dynamic Data framework. Instead, you must do two things before the application can run:
Add an Entity Data Model.
Figure 21A.1. FIGURE 21A-1
The namespace for the EDM is Models and the entity container is ...