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

Updating the model

Image

Stuff changes. It’s a basic fact of our profession, and you’ve learned to expect and plan for that, right? Right? Well, even if you haven’t, the designers at Microsoft have, and they’ve built the Entity Model Wizard to allow you to be able to update the model when the database schema changes, or when you need to add additional database objects to your model. To see how that works, let’s start by making a minor change to the database:

Image

In the Server Explorer (choose Server Explorer from the Windows menu if it’s not visible), ...

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