AnnotatableExtensions.AnnotationsToDebugString(IAnnotatable, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取针对对象上声明的所有批注的调试字符串。
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
每个新行之前要使用的缩进空间数。
返回
调试所有批注的字符串表示形式。