Skip to content

Use KeyAtrribute for scaffolding to support OData #15677

@cilerler

Description

@cilerler

OData requires [Key] attribute for entities where the primary key property name is not Id (it can't use .HasKey() info in FluentAPI)

Please allow scaffolding to generate Key Attributes if the column is name is not Id or the key is different than the Id property.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions