Table of Contents

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 IConventionEntityTypeBuilder

The builder for the entity type.

index IConventionIndex

The removed index.

context IConventionContext<IConventionIndex>

Additional information associated with convention execution.