O'Reilly logo

Fluent Entity Framework by Rebecca M. Riordan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Use the EDM wizard

Image

After you click Add on the New Item dialog, Visual Studio will display the first page of the Entity Data Model Wizard. Of course, you could cancel out of the Wizard and do everything manually, but I’ve never seen a good reason to do so. The Wizard is easy to use and does a good job of building the basic model. As you’ll see, you can always fine-tune things afterward.

Image

First up, the Wizard will ask you whether you want to choose a database or just open an empty model. We’re using the Database First workflow, so accept the default ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required