ConventionAnnotatable.OnAnnotationSet Methode

Definition

Überlädt

OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation)

Wird aufgerufen, wenn eine Anmerkung festgelegt oder entfernt wurde.

OnAnnotationSet(String, Annotation, Annotation)

Wird aufgerufen, wenn eine Anmerkung festgelegt oder entfernt wurde.

OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation)

Wird aufgerufen, wenn eine Anmerkung festgelegt oder entfernt wurde.

protected virtual Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation oldAnnotation);
protected virtual Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? oldAnnotation);
override this.OnAnnotationSet : string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
Protected Overridable Function OnAnnotationSet (name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation) As IConventionAnnotation

Parameter

name
String

Der Schlüssel der Setanmerkung.

annotation
IConventionAnnotation

Der Anmerkungssatz.

oldAnnotation
IConventionAnnotation

Die alte Anmerkung.

Gibt zurück

Die festgelegte Anmerkung.

Gilt für:

OnAnnotationSet(String, Annotation, Annotation)

Wird aufgerufen, wenn eine Anmerkung festgelegt oder entfernt wurde.

protected override Microsoft.EntityFrameworkCore.Infrastructure.Annotation OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation annotation, Microsoft.EntityFrameworkCore.Infrastructure.Annotation oldAnnotation);
protected override Microsoft.EntityFrameworkCore.Infrastructure.Annotation? OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation? annotation, Microsoft.EntityFrameworkCore.Infrastructure.Annotation? oldAnnotation);
override this.OnAnnotationSet : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overrides Function OnAnnotationSet (name As String, annotation As Annotation, oldAnnotation As Annotation) As Annotation

Parameter

name
String

Der Schlüssel der Setanmerkung.

annotation
Annotation

Der Anmerkungssatz.

oldAnnotation
Annotation

Die alte Anmerkung.

Gibt zurück

Die festgelegte Anmerkung.

Gilt für: