語言

IIndexAddedConvention 介面

定義

代表當在實體類型中加入索引時,應執行的操作。

public interface IIndexAddedConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IIndexAddedConvention = interface
    interface IConvention
Public Interface IIndexAddedConvention
Implements IConvention
衍生
實作

備註

更多資訊與範例請參閱 模型建構慣例 。

方法

名稱 Description
ProcessIndexAdded(IConventionIndexBuilder, IConventionContext<IConventionIndexBuilder>)

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

適用於