Configuring One-to-Many Relationships

Learn how to configure a one-to-many relationship using default conventions, data annotations, and fluent API.

Overview

In this lesson, we review the conventions between two entities that automatically result in a one-to-many relationship between their corresponding tables in the database. Later we’ll see how to supplement these conventions using data annotations and the fluent API.

Access this course and 1400+ top-rated courses and projects.