Udostępnij za pośrednictwem


IForeignKeyRemovedConvention.ProcessForeignKeyRemoved Metoda

Definicja

Wywoływane po usunięciu klucza obcego.

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

Parametry

entityTypeBuilder
IConventionEntityTypeBuilder

Konstruktor typu jednostki.

foreignKey
IConventionForeignKey

Usunięty klucz obcy.

context
IConventionContext<IConventionForeignKey>

Dodatkowe informacje skojarzone z wykonywaniem konwencji.

Dotyczy