IndexAttributeConvention Class

Definition

A convention that configures database indexes based on the IndexAttribute.

C#‎
public class IndexAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
Inheritance
IndexAttributeConvention
Implements

Remarks

See Model building conventions for more information and examples.

Constructors

Properties

Dependencies

Dependencies for this service.

Methods

Applies to

מוצר גירסאות
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0