IForeignKeyOwnershipChangedConvention 介面

定義

表示當外鍵的擁有權值變更時,應該執行的作業。

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

備註

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

方法

ProcessForeignKeyOwnershipChanged(IConventionForeignKeyBuilder, IConventionContext<Nullable<Boolean>>)

在外鍵的擁有權值變更之後呼叫。

ProcessForeignKeyOwnershipChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

在外鍵的擁有權值變更之後呼叫。

適用於