共用方式為


ForeignKeyIndexConvention.ProcessKeyRemoved 方法

定義

從實體類型中移除索引鍵之後呼叫。

public virtual 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
override this.ProcessKeyRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionKey * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionKey> -> unit
Public Overridable Sub ProcessKeyRemoved (entityTypeBuilder As IConventionEntityTypeBuilder, key As IConventionKey, context As IConventionContext(Of IConventionKey))

參數

entityTypeBuilder
IConventionEntityTypeBuilder

實體類型的產生器。

key
IConventionKey

索引鍵。

context
IConventionContext<IConventionKey>

與慣例執行相關聯的其他資訊。

實作

適用於