Edit the model

Image

The Wizard does a pretty good job of building the model. It even knows how and when things should be plural (mostly), but you’ll almost always need to make some changes. You might need to just make some minor naming tweaks or the model might need some major restructuring, but either way, you’ll do it in the Model Designer. We’ll be making major changes later in the book, but for now, let’s just change some entity property names to make them a little more sensible:

Image

You can change the property names in the Properties window (Press ...

Get Fluent Entity Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.