语言

IAnnotatable.FindRuntimeAnnotation(String) 方法

定义

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

public Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation? FindRuntimeAnnotation(string name);
abstract member FindRuntimeAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Public Function FindRuntimeAnnotation (name As String) As IAnnotation

参数

name
String

要查找的批注的名称。

返回

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

适用于