You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
Reacted by Frank M, KOBAYASHI Daigo, Lars Fernhomberg, Hayden McAfee, Giuseppe Piscopo, Dmitry Popov, Xavier Klausener, Jon Murray, MarcoLoetscher, openarc-engineering and 63 more
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.
Reacted by Giuseppe Piscopo, bugproof, rockstardev, Alexander Powolozki, David Revoledo, Furkan Duman, stefanolson, ali yeganeh, AscarGb, nil and 5 more
@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.
@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.
Activity
jsakamoto commentedon Mar 20, 2018
I'm not sure about what problems are there due to I had not learned more about it. Anyway, I could not forget
Indexattribute...So that, I create my own
Indexattribute 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.
rockstardev commentedon Jun 20, 2018
LOL @ "because it had lot of issues". Thanks for providing solution @jsakamoto
Inception when I see #1698
davidrevoledo commentedon Oct 31, 2018
@jsakamoto awesome !
16 remaining items
smitpatel commentedon May 28, 2020
@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.
lajones commentedon May 28, 2020
See the docs issue I just added.
Sergio1C commentedon Dec 24, 2021
Hi guys. It is still in progress, isn't it?
roji commentedon Dec 27, 2021
@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.