Share via


IConventionAnnotatable.GetAnnotation(String) Méthode

Définition

Obtient l’annotation portant le nom donné, en lisant si elle n’existe pas.

public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation GetAnnotation (string annotationName);
abstract member GetAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
override this.GetAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
Public Overridable Function GetAnnotation (annotationName As String) As IConventionAnnotation

Paramètres

annotationName
String

Clé de l’annotation à rechercher.

Retours

Annotation portant le nom spécifié.

S’applique à