Udostępnij za pośrednictwem


IKeyAddedConvention.ProcessKeyAdded Metoda

Definicja

Wywoływane po dodaniu klucza do typu jednostki.

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

Parametry

keyBuilder
IConventionKeyBuilder

Konstruktor klucza.

context
IConventionContext<IConventionKeyBuilder>

Dodatkowe informacje skojarzone z wykonywaniem konwencji.

Dotyczy