From: Justin T. <jus...@gm...> - 2008-06-14 23:24:06
|
The create_entity.sh script truncates the last character when creating files. There has been an assumption made that all entity table names are pluralized and end with an 's'. This is an unsafe assumption. For instance: - business / businesses - mouse / mice - goose / geese Pluralization in English is too varied to rely on the assumption you made. I've always preferred singular table names as a way of enforcing consistency. Rather than justify - there is a short article: http://www.breaksoft.com/Blog/Posts/2004/9/Plural_vs_Singular_Table_Names.aspxthat discusses the pros and cons. I think the pros are stronger. Or instead if you want to keep the pluralized database names, perhaps the script should ask for the entity name created in the backend vs the table name. Justin |