Skip to content

Conversation

@AndriySvyryd
Copy link
Member

Fixes #30060

…or owned abstract types in a TPC hierarchy

Fixes #30060
@AndriySvyryd AndriySvyryd requested a review from a team September 6, 2023 21:02
return entityType.GetRootType().GetTableName();
}

if (entityType.GetMappingStrategy() == RelationalAnnotationNames.TpcMappingStrategy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: combine with the above check via a switch statement over the mapping strategy?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll leave that as an exercise for the reader 😉

@AndriySvyryd AndriySvyryd merged commit 6c5d663 into release/8.0 Sep 7, 2023
@AndriySvyryd AndriySvyryd deleted the Issue30060 branch September 7, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RelationalEntityTypeExtensions.GetDefaultTableName should return null for abstract types in a TPC hierarchy

2 participants