Reverse Engineering adds an 's' to associated entity names

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
_andreas
Posts: 6
Joined: Wed 18 Mar 2009 09:53

Reverse Engineering adds an 's' to associated entity names

Post by _andreas » Mon 23 Mar 2009 15:27

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.

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

Post by AndreyR » Mon 23 Mar 2009 15:48

This is a designed behaviour, Microsoft does it the same way.

_andreas
Posts: 6
Joined: Wed 18 Mar 2009 09:53

Post by _andreas » Tue 24 Mar 2009 07:53

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.

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

Post by AndreyR » Tue 24 Mar 2009 10:10

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.

Post Reply