ConventionAnnotatable.CreateAnnotation(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.
Crée une annotation.
protected override Microsoft.EntityFrameworkCore.Infrastructure.Annotation CreateAnnotation(string name, object value);
protected override Microsoft.EntityFrameworkCore.Infrastructure.Annotation CreateAnnotation(string name, object? value);
override this.CreateAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overrides Function CreateAnnotation (name As String, value As Object) As Annotation
Paramètres
- name
- String
Clé de l’annotation.
- value
- Object
Valeur à stocker dans l’annotation.
Retours
Annotation nouvellement créée.