IForeignKeyRemovedConvention 介面

定義

表示移除外鍵時應該執行的作業。

public interface IForeignKeyRemovedConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IForeignKeyRemovedConvention = interface
    interface IConvention
Public Interface IForeignKeyRemovedConvention
Implements IConvention
衍生
實作

備註

如需詳細資訊和範例,請參閱 模型建置慣例

方法

ProcessForeignKeyRemoved(IConventionEntityTypeBuilder, IConventionForeignKey, IConventionContext<IConventionForeignKey>)

移除外鍵之後呼叫。

適用於