语言

AnnotatableExtensions.AnnotationsToDebugString(IAnnotatable, Int32) 方法

定义

获取针对对象上声明的所有批注的调试字符串。

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

要获取在调试字符串中打印的批注的对象。

indent
Int32

每个新行之前要使用的缩进空间数。

返回

调试所有批注的字符串表示形式。

适用于