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

Name Column Derive from Display Atttribute #45

Closed
maharatha opened this issue Jan 28, 2016 · 1 comment
Closed

Name Column Derive from Display Atttribute #45

maharatha opened this issue Jan 28, 2016 · 1 comment
Labels

Comments

@maharatha
Copy link

The Name column should fill up the data that's being used in the Display attribute of the Enum. Currrently it's ignoring it.

Also I find some strange issue of spaces automatically appearing in the name

@timabell
Copy link
Owner

The Name column should fill up the data that's being used in the Display attribute of the Enum. Currrently it's ignoring it.

There's already discussion of adding the display attribute data as a new column, so this is a duplicate of #33

I'd be interested to know why you need access to this for your particular usage, so please do comment on #33 with some more info.

Also I find some strange issue of spaces automatically appearing in the name

That's intentional, it's splitting enum value names no CamelCase to make it look nicer. You can turn it off if you like by setting the SplitWords property.

https://github.com/timabell/ef-enum-to-lookup/blob/master/EfEnumToLookup/LookupGenerator/EnumToLookup.cs#L37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants