Partager via


IKeyAddedConvention.ProcessKeyAdded Méthode

Définition

Appelée après l’ajout d’une clé au type d’entité.

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

Paramètres

keyBuilder
IConventionKeyBuilder

Générateur de la clé.

context
IConventionContext<IConventionKeyBuilder>

Informations supplémentaires associées à l’exécution de la convention.

S’applique à