IReadOnlyAnnotatable.FindAnnotation(String) Méthode

Définition

Obtient l’annotation avec le nom donné, retournée null si elle n’existe pas.

C#
public Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation? FindAnnotation (string name);

Paramètres

name
String

Nom de l'annotation à rechercher.

Retours

Annotation existante si une annotation portant le nom spécifié existe déjà. Sinon, null.

S’applique à

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