-
Notifications
You must be signed in to change notification settings - Fork 53
Description
I have written Handlebars helpers for our special naming conventions. It turned out that renaming the navigation properties was pretty hard because I had to split the pregenerated names and repeat the renaming on the individual parts of the name.
A feature for giving two conversion methods would be very handy such as string CreatePropertyName(string) which takes the original field name (e.g "c_first_name") and delivers the desired property name to use in the entity class (e.g. "FirstName"). Likewise a method string CreateEntityClassName(string) that does the naming for entity types.
Maybe an interface with these two methods could be created and this service would be used by Handlebars when it finds this service (also taken into account when generating names for navigation properties).
And: I did the custom renaming of the entity types with my Handlebars helper, but the file name was not affected; how can this be accomplished?