Compartilhar via


IKeyRemovedConvention.ProcessKeyRemoved Método

Definição

Chamado depois que uma chave é removida.

public void ProcessKeyRemoved (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionKey key, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionKey> context);
abstract member ProcessKeyRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionKey * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionKey> -> unit
Public Sub ProcessKeyRemoved (entityTypeBuilder As IConventionEntityTypeBuilder, key As IConventionKey, context As IConventionContext(Of IConventionKey))

Parâmetros

entityTypeBuilder
IConventionEntityTypeBuilder

O construtor para o tipo de entidade.

key
IConventionKey

A chave removida.

context
IConventionContext<IConventionKey>

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

Aplica-se a