語言

IForeignKeyDependentRequirednessChangedConvention 介面

定義

代表當外金鑰的依賴需求改變時應執行的操作。

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

備註

更多資訊與範例請參閱 模型建構慣例 。

方法

名稱 Description
ProcessForeignKeyDependentRequirednessChanged(IConventionForeignKeyBuilder, IConventionContext<Nullable<Boolean>>)

在外鍵的依賴需求被更改後,呼叫。

適用於