StoreKeyConvention.ProcessForeignKeyRemoved(IConventionEntityTypeBuilder, IConventionForeignKey, IConventionContext<IConventionForeignKey>) Methode

Definition

Wird aufgerufen, nachdem ein Fremdschlüssel entfernt wurde.

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

Parameter

entityTypeBuilder
IConventionEntityTypeBuilder

Der Generator für den Entitätstyp.

foreignKey
IConventionForeignKey

Der entfernte Fremdschlüssel.

context
IConventionContext<IConventionForeignKey>

Zusätzliche Informationen, die mit der Ausführung von Konventionen verknüpft sind.

Implementiert

Gilt für: