Annotatable.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 virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation CreateAnnotation(string name, object value);
abstract member CreateAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.CreateAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overridable 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.