Skip to content

Support an [Index] attribute #4050

Closed

Description

@rowanmiller

We didn't bring this over from EF6.x because it had a lot of issues... but opening this issue to track the possibility of adding it in the future since a number of folks have asked for it (see discussion on #1698).

Activity

  1. added this to the Backlog milestone on Dec 11, 2015
  2. jsakamoto commented on Mar 20, 2018

    @jsakamoto

    We didn't bring this over from EF6.x because it had a lot of issues...

    I'm not sure about what problems are there due to I had not learned more about it. Anyway, I could not forget Index attribute...

    So that, I create my own Index attribute library, and published it.

    https://www.nuget.org/packages/Toolbelt.EntityFrameworkCore.IndexAttribute

    This library allows us to easy way to recognize models without round trip between DbContext class and Entity classes.

    I hope, this library to be useful for some people who could not forget Index attribute, and I hope it does not bother the developer community.

  3. rockstardev commented on Jun 20, 2018

    @rockstardev

    LOL @ "because it had lot of issues". Thanks for providing solution @jsakamoto

    Inception when I see #1698

  4. davidrevoledo commented on Oct 31, 2018

    @davidrevoledo

    @jsakamoto awesome !

  5. modified the milestones: Backlog, 2.2.2, 3.0.0 on Jan 30, 2019
  6. 16 remaining items

  7. smitpatel commented on May 28, 2020

    @smitpatel
    Contributor

    @lajones - Can you put a small design of IndexAttribute which is implemented, how to use it and limitations on it here (and also edit the first post to add it at the top). If you are planning to add it to docs next, then the link to docs site page would also be fine. It would make it easier for people who ends up here searching for this issue to know what we implemented.

  8. lajones commented on May 28, 2020

    @lajones
    Contributor

    @lajones - Can you put a small design of IndexAttribute which is implemented, how to use it and limitations on it here (and also edit the first post to add it at the top). If you are planning to add it to docs next, then the link to docs site page would also be fine. It would make it easier for people who ends up here searching for this issue to know what we implemented.

    See the docs issue I just added.

  9. modified the milestones: 5.0.0, on Jun 1, 2020
  10. modified the milestones: , 5.0.0 on Nov 7, 2020
  11. Sergio1C commented on Dec 24, 2021

    @Sergio1C

    Hi guys. It is still in progress, isn't it?

  12. roji commented on Dec 27, 2021

    @roji
    Member

    @Sergio1C as the milestone shows, this was done for EF Core 5.0.0. You can see the documentation for the [Index] attribute on this doc page.

  13. added theissue type on Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions