AnnotatableExtensions.AnnotationsToDebugString(IAnnotatable, Int32) Method

Definition

Gets the debug string for all annotations declared on the object.

public static string AnnotationsToDebugString (this Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable annotatable, int indent = 0);
static member AnnotationsToDebugString : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable * int -> string
<Extension()>
Public Function AnnotationsToDebugString (annotatable As IAnnotatable, Optional indent As Integer = 0) As String

Parameters

annotatable
IAnnotatable

The object to get the annotations to print in debug string.

indent
Int32

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

Returns

String

Debug string representation of all annotations.

Applies to