Compartilhar via


IForeignKeyRemovedConvention.ProcessForeignKeyRemoved Método

Definição

Chamado depois que uma chave estrangeira é removida.

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

Parâmetros

entityTypeBuilder
IConventionEntityTypeBuilder

O construtor para o tipo de entidade.

foreignKey
IConventionForeignKey

A chave estrangeira removida.

context
IConventionContext<IConventionForeignKey>

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

Aplica-se a