MutableAnnotatableExtensions.GetAnnotation(IMutableAnnotatable, String) Yöntem

Tanım

Verilen adla ek açıklamayı alır ve yoksa bu ek açıklamayı alır.

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

Parametreler

annotatable
IMutableAnnotatable

Ek açıklamanın buluna nesnesi.

annotationName
String

Bulunan ek açıklamanın anahtarı.

Döndürülenler

IAnnotation

Belirtilen adla ek açıklama.

Şunlara uygulanır