Share via


KeyExtensions.ToDebugString(IKey, MetadataDebugStringOptions, Int32) Method

Definition

Creates a human-readable representation of the given metadata.

Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases.

public static string ToDebugString (this Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.MetadataDebugStringOptions options, int indent = 0);
static member ToDebugString : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.MetadataDebugStringOptions * int -> string
<Extension()>
Public Function ToDebugString (key As IKey, options As MetadataDebugStringOptions, Optional indent As Integer = 0) As String

Parameters

key
IKey

The metadata item.

options
MetadataDebugStringOptions

Options for generating the string.

indent
Int32

The number of indent spaces to use before each new line.

Returns

A human-readable representation.

Applies to