Skip to content

Decouple entity attribute names from generated edm property names #165

@sebgercas

Description

@sebgercas

Hello, currently, the attibute names of the entity classes are being used as property names in the metadata document of our service (the first letters are capitalized in the generated metadata document). Currently, I am looking for a way to decouple the attribute names in the entity classes from the corresponding property names in the generated metadata document. When looking through this library, I found the annotation "EdmAlias", which I hoped could solve my problem. I added the annotation to one of my fields but the name in the generated metadata did not change according to what I specified in the annotation.

Is there any way to achieve what I want to do?

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