You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support complex properties (JSON, table splitting) with TPT/TPC inheritance mapping #28443
Reacted by rofenix2, Christoph Fink, affection, GitPsota, Frank Buckley, Simon Williams, Niklas Wendel, Pedro, Joshua Helm, Valerii V. Shinkevich and 126 more
changed the title [-]Json: allow TPT/TPC mapping if only the most derived type contains json-mapped entities[/-][+]Support JSON properties with TPT/TPC inheritance mapping[/+]on Aug 30, 2022
Complex JSON support has been implemented for EF 11 via #37410. Although this issue originally tracked owned JSON support (as there was no complex JSON - that was introduced in 10), it has been converted to represent complex JSON, which I believe captures the needs expressed (and voted for) here.
I've opened the new #37445 to specifically track owned JSON support with TPT/TPC, but note that we are considering deprecating owned JSON altogether (#37290), in which case that issue would no longer be relevant. If anyone has a reason to specifically want owned JSON mapping (as opposed to complex), please post on #37290 with your reasons.
Reacted by Markus, Jukka Snellman and Josef Ottosson
Reacted by Josef Ottosson, Erik O'Leary, Anton Egorov and Jason Landbridge
Will the support added in EF11 also pick up non-JSON based complex properties within TPC hierarchies or will it only be JSON-based ones?
I just tried to convert an OwnsOne to ComplexProperty on the base class of a TPC hierarchy in EF10. It didn't work but it would be nice if it did. Your wording above sounds like even with EF11 it won't unless we convert it to a JSON column.
changed the title [-]Support complex JSON properties with TPT/TPC inheritance mapping[/-][+]Support complex properties (JSON, table splitting) with TPT/TPC inheritance mapping[/+]on Jan 18, 2026
Activity
[-]Json: allow TPT/TPC mapping if only the most derived type contains json-mapped entities[/-][+]Support JSON properties with TPT/TPC inheritance mapping[/+]mahdishahbazi commentedon Nov 26, 2022
Hi @maumar, @AndriySvyryd and @ajcvickers . Do we have a timeline for this?
roji commentedon Nov 26, 2022
@mahdishahbazi this is being considered for the 8.0 release, but it may or may not make it in.
24 remaining items
roji commentedon Jan 3, 2026
Complex JSON support has been implemented for EF 11 via #37410. Although this issue originally tracked owned JSON support (as there was no complex JSON - that was introduced in 10), it has been converted to represent complex JSON, which I believe captures the needs expressed (and voted for) here.
I've opened the new #37445 to specifically track owned JSON support with TPT/TPC, but note that we are considering deprecating owned JSON altogether (#37290), in which case that issue would no longer be relevant. If anyone has a reason to specifically want owned JSON mapping (as opposed to complex), please post on #37290 with your reasons.
pinkfloydx33 commentedon Jan 16, 2026
Will the support added in EF11 also pick up non-JSON based complex properties within TPC hierarchies or will it only be JSON-based ones?
I just tried to convert an
OwnsOnetoComplexPropertyon the base class of a TPC hierarchy in EF10. It didn't work but it would be nice if it did. Your wording above sounds like even with EF11 it won't unless we convert it to a JSON column.AndriySvyryd commentedon Jan 17, 2026
While the focus was on JSON, with #37410 the non-JSON complex properties should work with TPT and TPC in EF11
[-]Support complex JSON properties with TPT/TPC inheritance mapping[/-][+]Support complex properties (JSON, table splitting) with TPT/TPC inheritance mapping[/+]Document complex type support for TPC/TPT
Preview 1 docs (#5256)
Preview 1 docs (#5256)