SqlServerIndexConvention.ProcessIndexAdded 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在索引新增至實體類型之後呼叫。
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
索引的產生器。
與慣例執行相關聯的其他資訊。