Skip to content

Commit e550a68

Browse files
Update inheritance.md (#19949)
* Update inheritance.md Update inhertiance information to include info about the removal of TPT from EF core 3 and it's planned re-introduction into EF core 5 * Update inheritance.md Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
1 parent c32143a commit e550a68

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

aspnetcore/data/ef-mvc/inheritance.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ This pattern of generating an entity inheritance structure from a single databas
4848

4949
An alternative is to make the database look more like the inheritance structure. For example, you could have only the name fields in the Person table and have separate Instructor and Student tables with the date fields.
5050

51+
> [!WARNING]
52+
> Table Per Type (TPT) is not supported by EF Core 3.x, however it is has been implemented in [EF Core 5.0](https://docs.microsoft.com/ef/core/what-is-new/ef-core-5.0/plan).
53+
5154
![Table-per-type inheritance](inheritance/_static/tpt.png)
5255

5356
This pattern of making a database table for each entity class is called table per type (TPT) inheritance.

0 commit comments

Comments
 (0)