Interface IIndexRemovedConvention
- Namespace
- Microsoft.EntityFrameworkCore.Metadata.Conventions
- Assembly
- Microsoft.EntityFrameworkCore.dll
Represents an operation that should be performed when an index is removed from the entity type.
public interface IIndexRemovedConvention : IConvention
Remarks
See Model building conventions for more information and examples.
Methods
ProcessIndexRemoved(IConventionEntityTypeBuilder, IConventionIndex, IConventionContext<IConventionIndex>)
Called after an index is removed.
void ProcessIndexRemoved(IConventionEntityTypeBuilder entityTypeBuilder, IConventionIndex index, IConventionContext<IConventionIndex> context)
Parameters
entityTypeBuilder
IConventionEntityTypeBuilderThe builder for the entity type.
index
IConventionIndexThe removed index.
context
IConventionContext<IConventionIndex>Additional information associated with convention execution.