Annotatable.SetAnnotation Méthode

Définition

Surcharges

SetAnnotation(String, Annotation)

Définit l’annotation stockée sous la clé donnée. Remplace l’annotation existante si une annotation portant le nom spécifié existe déjà.

SetAnnotation(String, Object)

Définit l’annotation stockée sous la clé donnée. Remplace l’annotation existante si une annotation portant le nom spécifié existe déjà.

SetAnnotation(String, Annotation, Annotation)

Définit l’annotation stockée sous la clé donnée. Remplace l’annotation existante si une annotation portant le nom spécifié existe déjà.

SetAnnotation(String, Annotation)

Définit l’annotation stockée sous la clé donnée. Remplace l’annotation existante si une annotation portant le nom spécifié existe déjà.

protected virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation SetAnnotation (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation annotation);
abstract member SetAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.SetAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overridable Function SetAnnotation (name As String, annotation As Annotation) As Annotation

Paramètres

name
String

Clé de l’annotation à ajouter.

annotation
Annotation

Annotation à définir.

Retours

Annotation qui a été définie.

S’applique à

SetAnnotation(String, Object)

Définit l’annotation stockée sous la clé donnée. Remplace l’annotation existante si une annotation portant le nom spécifié existe déjà.

public virtual void SetAnnotation (string name, object value);
abstract member SetAnnotation : string * obj -> unit
override this.SetAnnotation : string * obj -> unit
Public Overridable Sub SetAnnotation (name As String, value As Object)

Paramètres

name
String

Clé de l’annotation à ajouter.

value
Object

Valeur à stocker dans l’annotation.

Implémente

S’applique à

SetAnnotation(String, Annotation, Annotation)

Définit l’annotation stockée sous la clé donnée. Remplace l’annotation existante si une annotation portant le nom spécifié existe déjà.

protected virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation SetAnnotation (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation annotation, Microsoft.EntityFrameworkCore.Infrastructure.Annotation oldAnnotation);
abstract member SetAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.SetAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overridable Function SetAnnotation (name As String, annotation As Annotation, oldAnnotation As Annotation) As Annotation

Paramètres

name
String

Clé de l’annotation à ajouter.

annotation
Annotation

Annotation à définir.

oldAnnotation
Annotation

Annotation en cours de remplacement.

Retours

Annotation qui a été définie.

S’applique à