ForeignKeyIndexConvention.ProcessIndexRemoved 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除索引之後呼叫。
public virtual void ProcessIndexRemoved (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionIndex> context);
abstract member ProcessIndexRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionIndex> -> unit
override this.ProcessIndexRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionIndex> -> unit
Public Overridable Sub ProcessIndexRemoved (entityTypeBuilder As IConventionEntityTypeBuilder, index As IConventionIndex, context As IConventionContext(Of IConventionIndex))
參數
- entityTypeBuilder
- IConventionEntityTypeBuilder
實體類型的產生器。
- index
- IConventionIndex
已移除的索引。
- context
- IConventionContext<IConventionIndex>
與慣例執行相關聯的其他資訊。