0 votes

For example I generate Many-To-Many "table" between two entity, the default generated field names aren't nice.
Image caption
There are 2 new fields: User_id and GroupEntityTestName_id . There isn't self-consistent. We need to rewrite field names to user_id and group _ entity _ test _ name _ id .

This auto conversion is simple, there are many example on the web:
http://stackoverflow.com/questions/1509915/converting-camel-case-to-underscore-case-in-ruby
http://www.tech-recipes.com/rx/5626/php-camel-case-to-spaces-or-underscore/
http://vim.wikia.com/wiki/Converting_variables_to_or_from_camel_case

It is small feature but help for us.

in Solved by (390 points)
edited by

2 Answers

0 votes
Best answer

This request was implemented in latest version 2.1.6.677. You can download this version here http://support.orm-designer.com/31/download-orm-designer2-here

Each ORM now has its own rules to generate PK and FK fields.

by Skipper developer (141k points)
selected by
0 votes

We know that part of our users wants this behavior. Unfortunately we can't implement it directly because another part of developers uses CamelCase convention.

So the only way how to solve this is custom fields templates (PK, FK, ..) with possibility to define a way how you want to generate names.

Because of that this feature takes more time than could appears at first glance. But we have this feature in our todo and we will implement it as soon as it will be possible.

by Skipper developer (141k points)