Freigeben über


INavigationAnnotationChangedConvention.ProcessNavigationAnnotationChanged Methode

Definition

Wird aufgerufen, nachdem eine Anmerkung in einer Navigation geändert wurde.

public void ProcessNavigationAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation navigation, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
public void ProcessNavigationAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation navigation, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
abstract member ProcessNavigationAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
Public Sub ProcessNavigationAnnotationChanged (relationshipBuilder As IConventionForeignKeyBuilder, navigation As IConventionNavigation, name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation, context As IConventionContext(Of IConventionAnnotation))

Parameter

relationshipBuilder
IConventionForeignKeyBuilder

Der Generator für den Fremdschlüssel.

navigation
IConventionNavigation

Die Navigation.

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: