[Closed] Good job on ORMD2 default foreign key name

0 votes
asked Mar 21, 2013 in General Questions by jeremiahsmall (380 points)
recategorized Jun 26, 2014 by Martin Freki Stradej

This is just a comment that I appreciate the new behavior for naming foreign keys when you create a new association in ORMD2.

In ORMD1, it used to take the entity name and just append _id. Example

MyEntity_id

In ORMD2, you now convert that to underscore separated lower case. Example

my_entity_id

This is much better. I used to have to go in and change that every time by hand.

commented Mar 21, 2013 by ludek.vodicka Skipper developer (140,450 points)

Thank you for your positive feedback.

In case you didn't know, beside this naming change we also implement full user customization for naming convention:

http://support.orm-designer.com/275/implemented-make-association-field-generation-configurable

1 Answer

0 votes
answered Jul 30, 2014 by Martin Freki Stradej Skipper developer (74,840 points)
 
Best answer

Thank you for your positive feedback.

In case you didn't know, beside this naming change we also implement full user customization for naming convention:

http://support.orm-designer.com/275/implemented-make-association-field-generation-configurable

...