DataContext Singulare Table names

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
fantarama
Posts: 5
Joined: Thu 18 Jun 2009 18:10

DataContext Singulare Table names

Post by fantarama » Thu 09 Jul 2009 16:01

I need singular table/entity names in datacontext generated code. Now when I generate the code the table names are pluralized.
There is an option for disable the pluralizations?

Thank you

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Fri 10 Jul 2009 07:00

This behaviour is already implemented in the upcoming version of Entity Developer.

fantarama
Posts: 5
Joined: Thu 18 Jun 2009 18:10

Post by fantarama » Wed 05 Aug 2009 14:53

I've tried the fearture in the updated version but with my question i mean another thing:

My project has italian class names, i need to set my custom plural names, because the final 's' is not valid and the program don't let me change the name manually, in the properties panel i can write the custom entityset name but on code generation my name is ignored; also if a save and reopen the project the names are restored to default.

Thanks for help

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Fri 07 Aug 2009 08:49

The current version of Entity Developer will preserve the names you enter if you uncheck the
"Pluralize Entity Set names" checkbox.
Unfortunately, some generation problems still persist, so the generated names may differ from
the name you have provided in the model.

Post Reply