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
IConventionSkipNavigationBuilderThe builder for the skip navigation.
foreignKey
IConventionForeignKeyThe current skip navigation foreign key.
oldForeignKey
IConventionForeignKeyThe old skip navigation foreign key.
context
IConventionContext<IConventionForeignKey>Additional information associated with convention execution.