Afficher en anglais

Partage via


IReadOnlyAnnotatable.GetAnnotation(String) Méthode

Définition

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

C#
public virtual Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation GetAnnotation (string annotationName);

Paramètres

annotationName
String

Clé de l’annotation à rechercher.

Retours

Annotation portant le nom spécifié.

S’applique à

Produit Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0