How to create a model using .edmx designer in visual studio 2012?

user1019042 picture user1019042 · Apr 18, 2013 · Viewed 8k times · Source

I'm new with Entity Framework 5.0. I'm looking for a tutorial on how to create a DB model using the .edmx designer in visual studio 2012.

Answer

Leniel Maccaferri picture Leniel Maccaferri · Apr 18, 2013

This video is an excellent tutorial:

I am creating a new database

Use Model First to define your model using boxes and lines and then generate a database.


Here's the MSDN doc on the subject:

Entity Framework Designer

From this main doc you can drill-down to a lot of topics including the one you want.