Annotatable.IMutableAnnotatable.AddAnnotation(String, Object) 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.
Ajoute une annotation à cet objet. Lève si une annotation portant le nom spécifié existe déjà.
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IMutableAnnotatable.AddAnnotation(string name, object value);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IMutableAnnotatable.AddAnnotation(string name, object value);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IMutableAnnotatable.AddAnnotation(string name, object? value);
abstract member Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.AddAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.AddAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.AddAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.AddAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Function AddAnnotation (name As String, value As Object) As IAnnotation Implements IMutableAnnotatable.AddAnnotation
Paramètres
- name
- String
Nom de l’annotation à ajouter.
- value
- Object
Valeur à stocker dans l’annotation.
Retours
Annotation nouvellement ajoutée.
Implémente
- Attributs