Chapter 6. Beyond the Basics with Modeling and Inheritance

By now you have a solid understanding of basic modeling techniques in Entity Framework. In this chapter you will find recipes that will help you address many common and often complex modeling problems. The recipes in this chapter specifically address problems you are likely to face in modeling existing, real-world databases.

We start this chapter working with many-to-many relationships. This type of relationship is very common in many modeling scenarios in both existing databases and new projects. Next, we'll look at self-referencing relationships and explore various strategies for retrieving nested object graphs. We round out this chapter with several recipes involving more advanced modeling ...

Get Entity Framework 4.0 Recipes: A Problem-Solution Approach 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.