共用方式為


IForeignKeyRemovedConvention Interface

Definition

Represents an operation that should be performed when a foreign key is removed.

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

Remarks

See Model building conventions for more information and examples.

Methods

ProcessForeignKeyRemoved(IConventionEntityTypeBuilder, IConventionForeignKey, IConventionContext<IConventionForeignKey>)

Called after a foreign key is removed.

Applies to