Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is the IndexAttribute? #2675

Closed
weitzhandler opened this issue Jul 20, 2015 · 1 comment
Closed

Where is the IndexAttribute? #2675

weitzhandler opened this issue Jul 20, 2015 · 1 comment

Comments

@weitzhandler
Copy link
Contributor

Hi,

I'm migrating a data model to a newly created ASP.NET 5 MVC 6 web project.
I can't seem to find the package that has the IndexAttribute (with uniqueness), isn't it part of the DNX? Any future plans? Alternatives? This feature was introduced in EF 6.1 and saved me a lot of trouble.

Looks like it's not achievable via the fluent API during model creation either.

@rowanmiller
Copy link
Contributor

Just following up on this thread after discussing it on #1698.

We may add this back in the future, but for the moment you need to use the Fluent API.

@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
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

No branches or pull requests

3 participants