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

The impedance mismatch

Image

Here are two ways of modelling our sample recipes. The one on this page uses the principles of relational database design. The model on page 17 uses the principles of OOA&D. They’re only examples, of course, and neither one can really be evaluated without knowing how the information will be used. A caterer who needs to scale recipes for any number of servings has very different requirements from, say, a cultural anthropologist who is primarily interested in the cultural context of the recipe, and these examples wouldn’t be particularly appropriate for either purpose. But they’ll do for our purposes.

A relational model

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