Configuring One-to-One Relationships

Learn how to configure one-to-one relationships using default conventions, data annotations, and the fluent API.

Overview

In this lesson, we’ll look at the conventions between two entities that result in a one-to-one relationship between their corresponding tables in the database. We’ll also look at how to supplement these conventions using data annotations and the fluent API.

Get hands-on with 1200+ tech skills courses.