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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework