AnnotatableBase.SetRuntimeAnnotation Méthode
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.
Surcharges
| Nom | Description |
|---|---|
| SetRuntimeAnnotation(String, Annotation, Annotation) |
Définit l’annotation runtime stockée sous la clé donnée. Remplace l’annotation existante si une annotation portant le nom spécifié existe déjà. |
| SetRuntimeAnnotation(String, Object) |
Définit l’annotation runtime stockée sous la clé donnée. Remplace l’annotation existante si une annotation portant le nom spécifié existe déjà. |
SetRuntimeAnnotation(String, Annotation, Annotation)
- Source:
- AnnotatableBase.cs
- Source:
- AnnotatableBase.cs
- Source:
- AnnotatableBase.cs
- Source:
- AnnotatableBase.cs
- Source:
- AnnotatableBase.cs
- Source:
- AnnotatableBase.cs
Définit l’annotation runtime stockée sous la clé donnée. Remplace l’annotation existante si une annotation portant le nom spécifié existe déjà.
protected virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation SetRuntimeAnnotation(string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation annotation, Microsoft.EntityFrameworkCore.Infrastructure.Annotation? oldAnnotation);
abstract member SetRuntimeAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.SetRuntimeAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overridable Function SetRuntimeAnnotation (name As String, annotation As Annotation, oldAnnotation As Annotation) As Annotation
Paramètres
- name
- String
Clé de l’annotation à ajouter.
- annotation
- Annotation
Annotation à définir.
- oldAnnotation
- Annotation
Annotation remplacée.
Retours
Annotation définie.
S’applique à
SetRuntimeAnnotation(String, Object)
- Source:
- AnnotatableBase.cs
- Source:
- AnnotatableBase.cs
- Source:
- AnnotatableBase.cs
- Source:
- AnnotatableBase.cs
- Source:
- AnnotatableBase.cs
- Source:
- AnnotatableBase.cs
Définit l’annotation runtime stockée sous la clé donnée. Remplace l’annotation existante si une annotation portant le nom spécifié existe déjà.
public virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation SetRuntimeAnnotation(string name, object? value);
abstract member SetRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.SetRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Public Overridable Function SetRuntimeAnnotation (name As String, value As Object) As Annotation
Paramètres
- name
- String
Clé de l’annotation à ajouter.
- value
- Object
Valeur à stocker dans l’annotation.