IForeignKeyNullNavigationSetConvention 介面

定義

表示在外鍵上將導覽設定 null 為 時應該執行的作業。

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

備註

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

方法

ProcessForeignKeyNullNavigationSet(IConventionForeignKeyBuilder, Boolean, IConventionContext<IConventionNavigation>)

在外鍵上將導覽設定為 null 之後呼叫。

適用於