IKeyAddedConvention.ProcessKeyAdded メソッド

定義

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

public void ProcessKeyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionKeyBuilder keyBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionKeyBuilder> context);
abstract member ProcessKeyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionKeyBuilder> -> unit
Public Sub ProcessKeyAdded (keyBuilder As IConventionKeyBuilder, context As IConventionContext(Of IConventionKeyBuilder))

パラメーター

keyBuilder
IConventionKeyBuilder

キーのビルダー。

context
IConventionContext<IConventionKeyBuilder>

規則の実行に関連する追加情報。

適用対象