On Feb 1, 10:23 pm, Fabio Maulo <[email protected]> wrote:
> <composite-element ......
>    <parent name="TheNameOfThePropertyOfTheParent"/>
> ...
> ...

Fabio, I tried to use the <parent name="..."/> construct but that
property is always null.


    <map name="Local" cascade="all-delete-orphan" table="FormLocal">
      <key column="FormId"/>
      <index-many-to-many column="LanguageId"
class="Cwc.Pulse.Dal.Language"/>
      <composite-element class="FormLocal">
        <parent name="Form"/>
        <property name="Description"/>
        ....
      </composite-element>
    </map>


This is my mapping and what I would expect is that when I would fetch
an entity from the database that the items in the Local dictionary
would have a Form property that refers to the parent form.

Maybe <parent/> does not work when embedded in a <map/> ?

--
Ramon

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to