Aracılığıyla paylaş


MutableAnnotatableExtensions.GetAnnotation Yöntem

Tanım

Belirtilen ada sahip ek açıklamayı alır ve yoksa oluşturur.

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çıklamayı bulmak için nesne.

annotationName
String

Bulunacak ek açıklamanın anahtarı.

Döndürülenler

Belirtilen ada sahip ek açıklama.

Şunlara uygulanır