Table of Contents

Enum MetadataDebugStringOptions

Namespace
Microsoft.EntityFrameworkCore.Infrastructure
Assembly
Microsoft.EntityFrameworkCore.dll

Options to print debug string differently for metadata objects.

[Flags]
public enum MetadataDebugStringOptions

Fields

IncludeAnnotations = 1

Include annotations in debug string.

IncludePropertyIndexes = 2

Include property indexes in debug string.

LongDefault = 1

Default settings for long debug string.

ShortDefault = 0

Default settings for short debug string.

SingleLine = 4

Print debug string on single line only.

SingleLineDefault = 4

Default settings for single line debug string.

Remarks

See Modeling entity types and relationships and EF Core debug views for more information and examples.