IIndexAddedConvention 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表當在實體類型中加入索引時,應執行的操作。
public interface IIndexAddedConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IIndexAddedConvention = interface
interface IConvention
Public Interface IIndexAddedConvention
Implements IConvention
- 衍生
- 實作
備註
更多資訊與範例請參閱 模型建構慣例 。
方法
| 名稱 | Description |
|---|---|
| ProcessIndexAdded(IConventionIndexBuilder, IConventionContext<IConventionIndexBuilder>) |
在實體類型新增索引後呼叫。 |