Язык

AnnotatableExtensions.GetAnnotation(IAnnotatable, String) Метод

Определение

Получает заметку с заданным именем, вызывая, если она не существует.

public static Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation GetAnnotation(this Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable annotatable, string annotationName);
static member GetAnnotation : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable * string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
<Extension()>
Public Function GetAnnotation (annotatable As IAnnotatable, annotationName As String) As IAnnotation

Параметры

annotatable
IAnnotatable

Объект для поиска заметки.

annotationName
String

Ключ найдите заметку.

Возвращаемое значение

Заметка с указанным именем.

Применяется к