AnnotatableExtensions.AnnotationsToDebugString(IAnnotatable, Int32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.
Debug string representation of all annotations.
Product | Versions |
---|---|
Entity Framework Core | 5.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: