December 2013
Intermediate to advanced
1872 pages
153h 31m
English
To begin, right-click your WPF project example in VS and select Add New Item. On the ensuing Add New Item dialog, click the Data node under the Categories heading on the left. Under Templates, click ADO.NET Entity Data Model and name your model file AdventureWorks2012.edmx. This is illustrated in Figure 47.7.
FIGURE 47.7 Creating an Entity Data Model with Visual Studio 2012.
On the ensuing Entity Data Model Wizard dialog, be sure that the Generate from Database option is selected and click Next. On the Choose Your Data Connection screen, select or create a connection to AdventureWorks2012 and then click Next. The result of this ...