AnnotatableBase.IAnnotatable.FindRuntimeAnnotation(String) 方法

定义

获取具有给定名称的运行时注释,如果不存在,则返回 null

Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation? IAnnotatable.FindRuntimeAnnotation (string name);
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.FindRuntimeAnnotation (string name);
abstract member Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindRuntimeAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindRuntimeAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Function FindRuntimeAnnotation (name As String) As IAnnotation Implements IAnnotatable.FindRuntimeAnnotation

参数

name
String

要查找的批注的名称。

返回

如果具有指定名称的批注已存在,则为现有运行时批注。 否则为 null

实现

适用于