Freigeben über


SqlServerStoreGenerationConvention.ProcessPropertyAnnotationChanged Methode

Definition

Wird aufgerufen, nachdem eine Anmerkung für eine Eigenschaft geändert wurde.

public override void ProcessPropertyAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
public override void ProcessPropertyAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
override this.ProcessPropertyAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
Public Overrides Sub ProcessPropertyAnnotationChanged (propertyBuilder As IConventionPropertyBuilder, name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation, context As IConventionContext(Of IConventionAnnotation))

Parameter

propertyBuilder
IConventionPropertyBuilder

Der Generator für die Eigenschaft.

name
String

Der Anmerkungsname.

annotation
IConventionAnnotation

Die neue Anmerkung.

oldAnnotation
IConventionAnnotation

Die alte Anmerkung.

context
IConventionContext<IConventionAnnotation>

Zusätzliche Informationen im Zusammenhang mit der Konventionsausführung.

Gilt für: