ForeignKeyModel Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
public class ForeignKeyModel : Microsoft.EntityFrameworkCore.Infrastructure.Annotatable
type ForeignKeyModel = class
inherit Annotatable
Public Class ForeignKeyModel
Inherits Annotatable
- Héritage
Constructeurs
| Nom | Description |
|---|---|
| ForeignKeyModel() | |
Propriétés
| Nom | Description |
|---|---|
| Columns | |
| DisplayName | |
| Item[String] |
Obtient l’annotation de valeur avec le nom donné, en retournant |
| Name | |
| OnDelete | |
| PrincipalTable | |
| 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 |
| 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. |