Skip to content

Introduce Index on TPH Discriminator #4030

@matthewDDennis

Description

@matthewDDennis

I've just created my first TPH EF Core DbContext and discovered that the Discriminator column is not indexed. Won't this result in a table scan for any queries that use the Discriminator to determine the derived type?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions