IForeignKeyAnnotationChangedConvention 介面

定義

表示在外鍵上變更批註時應該執行的作業。

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

備註

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

方法

ProcessForeignKeyAnnotationChanged(IConventionForeignKeyBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)

在外鍵上變更批註之後呼叫。

ProcessForeignKeyAnnotationChanged(IConventionRelationshipBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)

在外鍵上變更批註之後呼叫。

適用於