Vince Plaza's Blog

...Microsoft .NET programming ideas and samples

August 11th, 2009

...now browsing by day

 

Create an Adventure Works Entity Framework Model

Tuesday, August 11th, 2009

It is easy to create a simple Entity Framework model using the Adventure Works SQL Server database. I will use a WPF Model View project as my container. To start, create a new WPF Model View Application as described in this posting:

Right click on the Model folder in the Solution Explorer, select Add and then select New Item from the context menu.

(click to enlarge)

(click to enlarge)

Select the ADO.Net Entity Data Model template and name it AdventureWorks.edmx.

(click to enlarge)

(click to enlarge)

Click to continue »