ConventionAnnotatable.IMutableAnnotatable.SetAnnotation 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.
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à.
[System.Diagnostics.DebuggerStepThrough]
void IMutableAnnotatable.SetAnnotation(string name, object value);
[System.Diagnostics.DebuggerStepThrough]
void IMutableAnnotatable.SetAnnotation(string name, object? value);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.SetAnnotation : string * obj -> unit
override this.Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.SetAnnotation : string * obj -> unit
Sub SetAnnotation (name As String, value As Object) Implements IMutableAnnotatable.SetAnnotation
Paramètres
- name
- String
Nom de l’annotation à ajouter.
- value
- Object
Valeur à stocker dans l’annotation.
Implémente
- Attributs