IKeyAddedConvention.ProcessKeyAdded Yöntem

Tanım

Varlık türüne bir anahtar eklendikten sonra çağrılır.

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))

Parametreler

keyBuilder
IConventionKeyBuilder

Anahtarın oluşturucusu.

context
IConventionContext<IConventionKeyBuilder>

Kural yürütme ile ilişkili ek bilgiler.

Şunlara uygulanır