Udostępnij za pośrednictwem


ValueGenerationConvention.ProcessForeignKeyRemoved Metoda

Definicja

Wywoływane po usunięciu klucza obcego.

public virtual 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
override this.ProcessForeignKeyRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey> -> unit
Public Overridable 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.

Implementuje

Dotyczy