AnnotatableBase.IAnnotatable.AddRuntimeAnnotation(String, Object) Méthode
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 d’exécution à cet objet. Lève si une annotation portant le nom spécifié existe déjà.
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.AddRuntimeAnnotation (string name, object? value);
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.AddRuntimeAnnotation (string name, object value);
abstract member Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.AddRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.AddRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Function AddRuntimeAnnotation (name As String, value As Object) As IAnnotation Implements IAnnotatable.AddRuntimeAnnotation
- name
- String
Nom de l’annotation à ajouter.
- value
- Object
Valeur à stocker dans l’annotation.
Annotation nouvellement ajoutée.
Produit | Versions |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
Commentaires sur Entity Framework
Entity Framework est un projet open source. Sélectionnez un lien pour fournir des commentaires :