Sdílet prostřednictvím


IKeyRemovedConvention.ProcessKeyRemoved Metoda

Definice

Volá se po odebrání klíče.

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

Parametry

entityTypeBuilder
IConventionEntityTypeBuilder

Tvůrce pro typ entity.

key
IConventionKey

Odebraný klíč

context
IConventionContext<IConventionKey>

Další informace související se spuštěním konvence

Platí pro