Annotatable.CreateAnnotation(String, Object) Méthode

Définition

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.

S’applique à