IKeyAddedConvention インターフェイス

定義

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

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

注釈

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

メソッド

ProcessKeyAdded(IConventionKeyBuilder, IConventionContext<IConventionKeyBuilder>)

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

適用対象