Condividi tramite


IForeignKeyRemovedConvention.ProcessForeignKeyRemoved Metodo

Definizione

Chiamato dopo la rimozione di una chiave esterna.

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

Parametri

entityTypeBuilder
IConventionEntityTypeBuilder

Generatore per il tipo di entità.

foreignKey
IConventionForeignKey

Chiave esterna rimossa.

context
IConventionContext<IConventionForeignKey>

Informazioni aggiuntive associate all'esecuzione della convenzione.

Si applica a