共用方式為


IIndexAddedConvention.ProcessIndexAdded 方法

定義

在索引新增至實體類型之後呼叫。

public 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
Public Sub ProcessIndexAdded (indexBuilder As IConventionIndexBuilder, context As IConventionContext(Of IConventionIndexBuilder))

參數

indexBuilder
IConventionIndexBuilder

索引的產生器。

context
IConventionContext<IConventionIndexBuilder>

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

適用於