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

Custom property on Entity Type #55

Open
lvasiliou opened this issue Jun 7, 2021 · 3 comments
Open

Custom property on Entity Type #55

lvasiliou opened this issue Jun 7, 2021 · 3 comments

Comments

@lvasiliou
Copy link

Hi could you please allow us to enrich entities with custom metadata? I believe version 1.0 allowed a custom object on metadata.

@steveschmitt
Copy link
Member

Please give an example of what you are trying to do.

@lvasiliou
Copy link
Author

hi sorry for being slow to respond. In my scenario i want to have a friendly title name for the entity to display to end users. For example , i have an entity called "RunningRepair", I would like to display "Running Repair" to the end user. My thinking is, if we can pass it as entityType.custom.Title by enriching with metadata on the server

@steveschmitt
Copy link
Member

We already have a Custom property on metadata in the Breeze .NET server code. But it is on the entity property, not on the entity itself. It populates the custom property of a DataProperty or NavigationProperty in breeze-client.

There is a custom property on the Entity level in breeze-client, but not on the server.

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

2 participants