Vince Plaza's Blog

...Microsoft .NET programming ideas and samples

August 13th, 2009

...now browsing by day

 

Update EF Model Properties to Match Conceptual Model

Thursday, August 13th, 2009

Before reading this post, read the previous post: Create an Adventure Works Entity Framework Model

Now that you have created an Entity Framework model for the Adventure Works database, you can begin to update properties to align the model with your business. In this example, I will change a few simple table properties to support future samples that use the model.

To start, open the AdventureWorks.edmx file in the Visual Studio GUI design tool. Select the SalesOrderDetail table by clicking on the table just below the table name in the header. The properties pane should look like this:

(click to enlarge)

(click to enlarge)


Click to continue »