Generating navigation properties

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
jeroent
Posts: 12
Joined: Tue 25 Nov 2008 13:41

Generating navigation properties

Post by jeroent » Tue 15 Sep 2009 09:25

Hello,

I uses the entity Developer for with dot connect for oracle.
and in the newest release (5.25.42) and the one before that (5.25.39) there is an error in the designer when generating navigation properties where one of the to ends should not be created.

Example:
I have to entities Address And Country between those there is an relation
I want to navigate from Address to Country but I dont want the list of addresses in the country.
so i remove the addresses from the navigation properties list in country

When I generate the csdl file en look in it. the address property is present in the country entity but the country property is not present in the address entity. It's just generates the wrong way round in my opinion.

Can this problem be fixed?

Greetings

Jeroen van der Tuin

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

Post by AndreyR » Fri 18 Sep 2009 06:57

The Generate related property checkbox under the parent class is responsible for generating the navigation property of parent type in the detail class, and vice versa.
It is the designed behaviour.

Post Reply