Skip to content

Add EFCore.ComplexIndexes to EF Core extensions - #5495

Merged
AndriySvyryd merged 1 commit into
dotnet:mainfrom
CaffeinatedCoder:add-efcore-complexindexes
Oct 28, 2026
Merged

AndriySvyryd merged 1 commit into
dotnet:mainfrom
CaffeinatedCoder:add-efcore-complexindexes

Conversation

@CaffeinatedCoder

@CaffeinatedCoder CaffeinatedCoder commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Adds EFCore.ComplexIndexes to the extensions list. I maintain it.

It generates migration SQL for indexes on the nested columns of complex properties, which EF Core 10 models but does not index. The core package is provider-agnostic; separate PostgreSQL and SQL Server packages add provider-specific options (PostgreSQL index methods, expression indexes, exclusion and temporal constraints; SQL Server clustered, covering and online indexes).

EF Core 11 indexes complex-type members natively (dotnet/efcore#31246), so the entry states EF Core 10, the line the packages target.

The entry follows the format of the existing ones: description ending in the supported EF Core versions, then repository and NuGet links, added at the end of the Extensions section.

@ErikEJ

ErikEJ commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

LGTM!

@AndriySvyryd AndriySvyryd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain, so the catalog update is ready to merge.

No open issues 🎉

What changed in this PR

Adds EFCore.ComplexIndexes to the EF Core extensions catalog, documenting EF Core 10 support for migration-generated indexes on complex-type properties and provider-specific options.

Changes:

  • Adds the extension to the Extensions section.
  • Documents core, PostgreSQL, and SQL Server indexing capabilities.
  • Links to the project repository and NuGet package.
  • Review note (nit, 1 vote): Provider-specific features should be distinguished from the core package, with links to the separate PostgreSQL and SQL Server packages.
File Description
entity-framework/​core/​extensions/​index.md Adds the EFCore.ComplexIndexes extension listing.

Review effort: Lite

@AndriySvyryd
AndriySvyryd merged commit 537f7f5 into dotnet:main Oct 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants