Announcing Entity Framework 7 Preview 5


 

Entity Framework 7 (EF7) Preview 5 has shipped with support for Table-per-Concrete type (TPC) mapping. This blog post will focus on TPC. There are several other enhancements included in Preview 5, such as:

Support for AT TIME ZONE in SQL Server Updates to command and connection interception (#23087, #23085, #17261) Addition of the delete behavior attribute

Read the full list of EF7 Preview 5 enhancements.

Table-per-concrete-type (TPC) mapping

By default, EF Core maps an inheritance hierarchy of .NET types to a single database table. This is known as the table-per-hierarchy (TPH) mapping strategy. EF Core 5.0 introduced the