Skip to content

Metadata: Add CLR type for shared type entity type in debug view #22011

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
1 commit merged into from
Aug 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/EFCore/Extensions/EntityTypeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,11 @@ public static string ToDebugString(
builder.Append(" Base: ").Append(entityType.BaseType.DisplayName());
}

if (entityType.HasSharedClrType)
{
builder.Append(" CLR Type: ").Append(entityType.ClrType.ShortDisplayName());
}

if (entityType.IsAbstract())
{
builder.Append(" Abstract");
Expand Down