Share via


IForeignKeyAddedConvention インターフェイス

定義

外部キーがエンティティ型に追加されたときに実行する必要がある操作を表します。

public interface IForeignKeyAddedConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IForeignKeyAddedConvention = interface
    interface IConvention
Public Interface IForeignKeyAddedConvention
Implements IConvention
派生
実装

注釈

詳細と例については、「 モデルの構築規則 」を参照してください。

メソッド

ProcessForeignKeyAdded(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

外部キーがエンティティ型に追加された後に呼び出されます。

ProcessForeignKeyAdded(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

外部キーがエンティティ型に追加された後に呼び出されます。

適用対象