msawczyn / EFDesigner

Entity Framework visual design surface and code-first code generation for EF6, Core and beyond
MIT License
363 stars 60 forks source link

Support for per-entity inheritance hierarchy types #327

Closed MelGrubb closed 2 years ago

MelGrubb commented 2 years ago

Looking at EF7 docs (https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-7.0/whatsnew#configuring-tpc-inheritance) it appears that hierarchy types can be set on a per-entity basis, which would allow for greater flexibility in deciding which entities are shaped in which ways. Currently, the designer sets a single hierarchy type for the whole diagram.

The designer should probably reflect this and allow setting inheritance type on a per-entity basis.