Partilhar via


IForeignKeyPropertiesChangedConvention Interface

Definition

Represents an operation that should be performed when the foreign key properties or principal key are changed.

public interface IForeignKeyPropertiesChangedConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IForeignKeyPropertiesChangedConvention = interface
    interface IConvention
Public Interface IForeignKeyPropertiesChangedConvention
Implements IConvention
Derived
Implements

Remarks

See Model building conventions for more information and examples.

Methods

ProcessForeignKeyPropertiesChanged(IConventionForeignKeyBuilder, IReadOnlyList<IConventionProperty>, IConventionKey, IConventionContext<IReadOnlyList<IConventionProperty>>)

Called after the foreign key properties or principal key are changed.

ProcessForeignKeyPropertiesChanged(IConventionRelationshipBuilder, IReadOnlyList<IConventionProperty>, IConventionKey, IConventionContext<IConventionRelationshipBuilder>)

Called after the foreign key properties or principal key are changed.

Applies to