AnnotatableExtensions.AnnotationsToDebugString(IAnnotatable, Int32) Method
Definition
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
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
Debug string representation of all annotations.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework