Relationships in Entity Framework Core
Learn about the different types of entity relationships in EF Core.
Overview
In EF Core, relationships define how two entities relate and how the database reflects the relationship. When dealing with relational databases, EF Core uses foreign keys to establish the relationships between entities. This lesson introduces the concepts surrounding the relationship between entities.
The code sample below illustrates some concepts regarding relationships in EF Core:
Get hands-on with 1400+ tech skills courses.