Udostępnij za pośrednictwem


ISkipNavigationForeignKeyChangedConvention.ProcessSkipNavigationForeignKeyChanged Metoda

Definicja

Wywoływana po zmianie odwrotnej nawigacji pominięcia.

public void ProcessSkipNavigationForeignKeyChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder skipNavigationBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey oldForeignKey, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey> context);
public void ProcessSkipNavigationForeignKeyChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder skipNavigationBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey? foreignKey, Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey? oldForeignKey, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey> context);
abstract member ProcessSkipNavigationForeignKeyChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey * Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey> -> unit
Public Sub ProcessSkipNavigationForeignKeyChanged (skipNavigationBuilder As IConventionSkipNavigationBuilder, foreignKey As IConventionForeignKey, oldForeignKey As IConventionForeignKey, context As IConventionContext(Of IConventionForeignKey))

Parametry

skipNavigationBuilder
IConventionSkipNavigationBuilder

Konstruktor nawigacji pomiń.

foreignKey
IConventionForeignKey

Bieżący klucz obcy nawigacji pomiń.

oldForeignKey
IConventionForeignKey

Stary pomiń klucz obcy nawigacji.

context
IConventionContext<IConventionForeignKey>

Dodatkowe informacje skojarzone z wykonywaniem konwencji.

Dotyczy