Toolbelt.EntityFrameworkCore.IndexAttribute.SqlServer
Revival of [Index] attribute for EF Core. (with extension for model building.) This package also provides [PrimaryKey] attribute, and supports "IsClustered" property. [NOTICE] EF Core team said "We didn't bring this over from EF6.x because it had a lot of issues" (https://github.com/aspnet/EntityFrameworkCore/issues/4050) You should consider well before use this package.
Install
dotnet add package Toolbelt.EntityFrameworkCore.IndexAttribute.SqlServer --version 3.2.0
Install-Package Toolbelt.EntityFrameworkCore.IndexAttribute.SqlServer -Version 3.2.0
<PackageReference Include="Toolbelt.EntityFrameworkCore.IndexAttribute.SqlServer" Version="3.2.0" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.