Compartilhar via


IKeyAddedConvention.ProcessKeyAdded Método

Definição

Chamado depois que uma chave é adicionada ao tipo de entidade.

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

Parâmetros

keyBuilder
IConventionKeyBuilder

O construtor da chave.

context
IConventionContext<IConventionKeyBuilder>

Informações adicionais associadas à execução da convenção.

Aplica-se a