EF Core Relationships Made Simple: Primary Keys, Foreign Keys, and Navigation Properties

Database relationships sounded much more complicated to me when people started throwing around terms like: primary key foreign key navigation property one-to-many many-to-many But the basic idea is something we…

Continue ReadingEF Core Relationships Made Simple: Primary Keys, Foreign Keys, and Navigation Properties

EF Core Migrations Finally Explained: What Add-Migration and Update-Database Actually Do

When I first saw EF Core migrations, I knew the commands: Add-Migration InitialCreate Update-Database But knowing the commands and understanding what they actually do are two different things. For a…

Continue ReadingEF Core Migrations Finally Explained: What Add-Migration and Update-Database Actually Do