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>

与约定执行关联的其他信息。

实现

适用于