O'Reilly logo

Code-First Development with Entity Framework by Sergey Barskiy

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

Chapter 5. Advanced Modeling and Querying Techniques

In this chapter, you will learn how to use advanced modeling techniques to create the database structure. We will learn how to use complex types to create data structures that are reusable in multiple entity types. We will learn how to use enumerations to create a range of distinct values for a column or property. We will understand how to split an entity across multiple tables. We will learn how to support existing databases, while using names for classes and properties that do not match tables and columns in our database. We will also look at additional querying techniques, including aggregation, paging, grouping, and projections.

In this chapter, we will cover how to:

  • Create complex types, ...

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