KeyDiscoveryConvention.ProcessSkipNavigationForeignKeyChanged Method

Definition

Called after a skip navigation inverse is changed.

C#
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);
C#
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);

Parameters

skipNavigationBuilder
IConventionSkipNavigationBuilder

The builder for the skip navigation.

foreignKey
IConventionForeignKey

The current skip navigation foreign key.

oldForeignKey
IConventionForeignKey

The old skip navigation foreign key.

context
IConventionContext<IConventionForeignKey>

Additional information associated with convention execution.

Implements

Applies to

Proizvod Verzije
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0