Conventions in Entity Framework Core
Explore the default conventions used by Entity Framework Core to build models automatically. Understand how EF Core includes entity types, creates columns, assigns primary and foreign keys, handles nullability, and creates indexes. This lesson helps you grasp how the Code First workflow and migrations work to keep your model and database in sync.
Overview
EF Core follows a set of rules when building a model. Those rules are collectively known as conventions. In this lesson, we review the ...
From now on, we’ll utilize the Code First workflow in our demonstrations. Recall that the Code First workflow ...