Afficher en anglais

Partage via


ConventionAnnotatableExtensions Classe

Définition

Attention

Use IConventionAnnotatable

Méthodes d’extension pour IConventionAnnotatable.

C#
public static class ConventionAnnotatableExtensions
C#
[System.Obsolete("Use IConventionAnnotatable")]
public static class ConventionAnnotatableExtensions
Héritage
ConventionAnnotatableExtensions
Attributs

Méthodes

AddAnnotations(IConventionAnnotatable, IEnumerable<IConventionAnnotation>, Boolean)
Obsolète.

Ajoute des annotations à un objet .

GetAnnotation(IConventionAnnotatable, String)
Obsolète.

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

SetOrRemoveAnnotation(IConventionAnnotatable, String, Object, Boolean)
Obsolète.

Définit l’annotation stockée sous le nom donné. Remplace l’annotation existante si une annotation portant le nom spécifié existe déjà. Supprime l’annotation existante si null est fournie.

S’applique à

Produit Versions (Obsolète)
Entity Framework Core 3.0, 3.1, 5.0 (6.0)