Table of Contents

Interface IIndexAddedConvention

Namespace
Microsoft.EntityFrameworkCore.Metadata.Conventions
Assembly
Microsoft.EntityFrameworkCore.dll

Represents an operation that should be performed when an index is added to the entity type.

public interface IIndexAddedConvention : IConvention

Remarks

See Model building conventions for more information and examples.

Methods

ProcessIndexAdded(IConventionIndexBuilder, IConventionContext<IConventionIndexBuilder>)

Called after an index is added to the entity type.

void ProcessIndexAdded(IConventionIndexBuilder indexBuilder, IConventionContext<IConventionIndexBuilder> context)

Parameters

indexBuilder IConventionIndexBuilder

The builder for the index.

context IConventionContext<IConventionIndexBuilder>

Additional information associated with convention execution.