Conventions in Entity Framework Core


EntityFrameWorkCore, UnderStanding Convention In EFCore

Conventions in Entity Framework Core

Conventions are default rules using which Entity Framework builds a model based on your domain (entity) classes. In the First EF Core Application chapter, EF Core API creates a database schema based on domain and context classes, without any additional configurations because domain classes were following the conventions.

Consider the following sample entities and context class to understand the default conventions.

 


Read More...