Table of Contents

Interface ISkipNavigationForeignKeyChangedConvention

Namespace
Microsoft.EntityFrameworkCore.Metadata.Conventions
Assembly
Microsoft.EntityFrameworkCore.dll

Represents an operation that should be performed when a skip navigation foreign key is changed.

public interface ISkipNavigationForeignKeyChangedConvention : IConvention

Remarks

See Model building conventions for more information and examples.

Methods

ProcessSkipNavigationForeignKeyChanged(IConventionSkipNavigationBuilder, IConventionForeignKey?, IConventionForeignKey?, IConventionContext<IConventionForeignKey>)

Called after a skip navigation inverse is changed.

void ProcessSkipNavigationForeignKeyChanged(IConventionSkipNavigationBuilder skipNavigationBuilder, IConventionForeignKey? foreignKey, IConventionForeignKey? oldForeignKey, IConventionContext<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.