Partager via


KeyDiscoveryConvention.ProcessSkipNavigationForeignKeyChanged Méthode

Définition

Appelé après la modification d’un inverse de navigation skip.

public virtual 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 virtual 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
override this.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 Overridable Sub ProcessSkipNavigationForeignKeyChanged (skipNavigationBuilder As IConventionSkipNavigationBuilder, foreignKey As IConventionForeignKey, oldForeignKey As IConventionForeignKey, context As IConventionContext(Of IConventionForeignKey))

Paramètres

skipNavigationBuilder
IConventionSkipNavigationBuilder

Générateur pour la navigation d’ignorer.

foreignKey
IConventionForeignKey

Clé étrangère ignorer la navigation actuelle.

oldForeignKey
IConventionForeignKey

Ancienne clé étrangère ignorer la navigation.

context
IConventionContext<IConventionForeignKey>

Informations supplémentaires associées à l’exécution de la convention.

Implémente

S’applique à