共用方式為


ForeignKeyIndexConvention.ProcessIndexRemoved 方法

定義

移除索引之後呼叫。

public virtual void ProcessIndexRemoved (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionIndex> context);
abstract member ProcessIndexRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionIndex> -> unit
override this.ProcessIndexRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionIndex> -> unit
Public Overridable Sub ProcessIndexRemoved (entityTypeBuilder As IConventionEntityTypeBuilder, index As IConventionIndex, context As IConventionContext(Of IConventionIndex))

參數

entityTypeBuilder
IConventionEntityTypeBuilder

實體類型的產生器。

index
IConventionIndex

已移除的索引。

context
IConventionContext<IConventionIndex>

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

實作

適用於