This demo shows three approaches of configuring the data entity mappings in both EF6 and EF Core.
This demo contains two "parallel" projects:
- One project created with .NET Framework - using Entity Framework 6
- One project created with .Net Core - using Entity Framework Core
Both projects contain three entities:
Customer- uses implicit mappingsCustomerOrder- uses attribute annotation mappingsMyProduct- uses EntityTypeConfiguration mappings
If you like my work and want to support me, you can buy me a coffee: