SqlServerIndexConvention.ProcessIndexAdded 方法

定义

在将索引添加到实体类型后调用。

public virtual void ProcessIndexAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder> context);
abstract member ProcessIndexAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder> -> unit
override this.ProcessIndexAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder> -> unit
Public Overridable Sub ProcessIndexAdded (indexBuilder As IConventionIndexBuilder, context As IConventionContext(Of IConventionIndexBuilder))

参数

indexBuilder
IConventionIndexBuilder

索引的生成器。

context
IConventionContext<IConventionIndexBuilder>

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

实现

适用于