Langue

IndexModel Classe

Définition

public class IndexModel : Microsoft.EntityFrameworkCore.Infrastructure.Annotatable
type IndexModel = class
    inherit Annotatable
Public Class IndexModel
Inherits Annotatable
Héritage
IndexModel

Constructeurs

Nom Description
IndexModel()

Propriétés

Nom Description
IndexColumns
IsUnique
Item[String]

Obtient l’annotation de valeur avec le nom donné, en retournant null s’il n’existe pas.

(Hérité de Annotatable)
Name
Table

Méthodes

Nom Description
AddAnnotation(String, Annotation)

Ajoute une annotation à cet objet. Lève si une annotation portant le nom spécifié existe déjà.

(Hérité de Annotatable)
AddAnnotation(String, Object)

Ajoute une annotation à cet objet. Lève si une annotation portant le nom spécifié existe déjà.

(Hérité de Annotatable)
CreateAnnotation(String, Object)

Crée une annotation.

(Hérité de Annotatable)
FindAnnotation(String)

Obtient l’annotation portant le nom donné, en retournant null s’il n’existe pas.

(Hérité de Annotatable)
GetAnnotations()

Obtient toutes les annotations sur l’objet actuel.

(Hérité de Annotatable)
GetOrAddAnnotation(String, Object)

Ajoute une annotation à cet objet ou retourne l’annotation existante si l’un portant le nom spécifié existe déjà.

(Hérité de Annotatable)
OnAnnotationSet(String, Annotation, Annotation)

Appelé lorsqu’une annotation a été définie ou supprimée.

(Hérité de Annotatable)
RemoveAnnotation(String)

Supprime l’annotation donnée de cet objet.

(Hérité de Annotatable)
SetAnnotation(String, Annotation)

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

(Hérité de Annotatable)

Implémentations d’interfaces explicites

Nom Description
IAnnotatable.FindAnnotation(String)

Obtient l’annotation portant le nom donné, en retournant null s’il n’existe pas.

(Hérité de Annotatable)
IAnnotatable.GetAnnotations()

Obtient toutes les annotations sur l’objet actuel.

(Hérité de Annotatable)

Méthodes d’extension

Nom Description
AddAnnotations(IMutableAnnotatable, IEnumerable<IAnnotation>)

Ajoute des annotations à un objet.

GetAnnotation(IAnnotatable, String)

Obtient l’annotation portant le nom donné, levée s’il n’existe pas.

GetOrAddAnnotation(IMutableAnnotatable, String, String)

Obtient l’annotation existante avec une clé donnée ou ajoute une nouvelle annotation si elle n’existe pas.

S’applique à