Interface IIndexUniquenessChangedConvention
- Namespace
- Microsoft.EntityFrameworkCore.Metadata.Conventions
- Assembly
- Microsoft.EntityFrameworkCore.dll
Represents an operation that should be performed when the uniqueness for an index is changed.
public interface IIndexUniquenessChangedConvention : IConvention
Remarks
See Model building conventions for more information and examples.
Methods
ProcessIndexUniquenessChanged(IConventionIndexBuilder, IConventionContext<bool?>)
Called after the uniqueness for an index is changed.
void ProcessIndexUniquenessChanged(IConventionIndexBuilder indexBuilder, IConventionContext<bool?> context)
Parameters
indexBuilder
IConventionIndexBuilderThe builder for the index.
context
IConventionContext<bool?>Additional information associated with convention execution.