Skip to content

Where is the IndexAttribute? #2675

Closed as not planned
Closed as not planned

Description

@weitzhandler

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.

Activity

  1. rowanmiller commented on Jul 23, 2015

    @rowanmiller
    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions