Page 1 of 1

Reverse Engineering adds an 's' to associated entity names

Posted: Mon 23 Mar 2009 15:27
by _andreas
Hello,

I use Entiy Developer for dotConnect Beta 2.0.5. I generate an entity model from an oracle databae. All naming rules are configured to do nothing. However, the names of associated entities which represents a list of entities are pluralized.

I also tried to singularize the names by using the naming rules but the result does not change.

Posted: Mon 23 Mar 2009 15:48
by AndreyR
This is a designed behaviour, Microsoft does it the same way.

Posted: Tue 24 Mar 2009 07:53
by _andreas
I don't think so because I generate the entity model from the same database in VS 2008 SP1 and it does not pluralize the names of associated entities.

Posted: Tue 24 Mar 2009 10:10
by AndreyR
Sorry I was not clear enough. Microsoft LINQ to SQL Classes designer pluralizes the name of Navigation Property in the parent class.
If to compare Microsoft products, the LINQ designer seems more thought-out to us. That is the reason for pluralization.
Anyway, if you don't like this behaviour, there is still an option to change the code class manually.