Sql Server Tutorial Complete PlayList Link: • Easy way to Learn SQL -SERVER (BASIC ...
EF CORE Tutorial Complete PlayList :
• Entity Framework Core in Hindi /Urdu ...
Conventions in Entity Framework Core are the default rules by which the Database Schema is created based on Domain and Database Context classes.
One-to-Many Relationship
There are 4 conventions to create a Many-to-One relationship between these 2 classes
One-to-One Relationship
Creating One-to-One relationship between entity classes is very simple in EF Core. All you have to do is add Reference Navigation properties on both the entities.