AnnotatableExtensions.GetAnnotation(IAnnotatable, String) Yöntem

Tanım

Verilen ada sahip ek açıklamayı alır, yoksa oluşturulur.

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

Parametreler

annotatable
IAnnotatable

Ek açıklamanın bulunacağı nesne.

annotationName
String

Bulunacak ek açıklamanın anahtarı.

Döndürülenler

IAnnotation

Belirtilen ada sahip ek açıklama.

Şunlara uygulanır