Missing: parent-reference for component mappings

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
mindplay
Posts: 148
Joined: Tue 13 Dec 2011 22:58
Location: Ithaca, NY

Missing: parent-reference for component mappings

Post by mindplay » Wed 15 Feb 2012 19:06

It looks like parent-references for component-mappings is unsupported?

Chaper 8.1 demonstrates this feature, using the following example:

Code: Select all

<class name="eg.Person" table="person">
    <id name="Key" column="pid" type="string">
        <generator class="uuid"/>
    </id>
    <property name="birthday" type="date"/>
    <component name="Name" class="eg.Name" unique="true">
        <parent name="namedPerson"/> <!-- reference back to the Person -->
        <property name="initial"/>
        <property name="first"/>
        <property name="last"/>
    </component>
</class>
I'm referring to the tag in the section.

Without this feature, there is no way to identify the owner of a component - e.g. no way to traverse the object graph back from a component instance to the entity it belongs to...

Shalex
Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Fri 17 Feb 2012 17:49

This functionality is on our roadmap. There is no timeframe at the moment. We will post here when it is implemented.

Shalex
Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Re: Missing: parent-reference for component mappings

Post by Shalex » Mon 30 Apr 2012 07:02

The Parent property for component mappings is implemented. We will notify you when the corresponding build of Entity Developer is available for download.

Shalex
Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Re: Missing: parent-reference for component mappings

Post by Shalex » Wed 23 May 2012 14:52

New version of Entity Developer 4.4 is released!
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=24187 .

Post Reply