Condividi tramite


IKeyAddedConvention.ProcessKeyAdded Metodo

Definizione

Chiamato dopo l'aggiunta di una chiave al tipo di 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))

Parametri

keyBuilder
IConventionKeyBuilder

Generatore per la chiave.

context
IConventionContext<IConventionKeyBuilder>

Informazioni aggiuntive associate all'esecuzione della convenzione.

Si applica a