Udostępnij za pośrednictwem


RelationalDbFunctionAttributeConvention.ProcessModelAnnotationChanged Metoda

Definicja

Wywoływana po zmianie adnotacji na modelu.

public virtual void ProcessModelAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
abstract member ProcessModelAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
override this.ProcessModelAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
Public Overridable Sub ProcessModelAnnotationChanged (modelBuilder As IConventionModelBuilder, name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation, context As IConventionContext(Of IConventionAnnotation))

Parametry

modelBuilder
IConventionModelBuilder

Konstruktor modelu.

name
String

Nazwa adnotacji.

annotation
IConventionAnnotation

Nowa adnotacja.

oldAnnotation
IConventionAnnotation

Stara adnotacja.

context
IConventionContext<IConventionAnnotation>

Dodatkowe informacje skojarzone z wykonywaniem konwencji.

Implementuje

Dotyczy