Hello,
I am trying to map two Hashtables using a unidirectional
<map>.
For valuetype mapping i would use something like this:
Code:
...
<class name="Demo.Parent, Demo" table="parent">
<id name="Id" column="demoId" type="Int32">
<generator class="native" />
</id>
<map name="childOne" lazy="true" table="childs">
<key column="childOneID" />
<index column="childOneKEY" type="String" />
<element type="String" column ="childOneVALUE" not-null ="false" />
</map>
<map name="childTwo" lazy="true" table="childs">
<key column="childTwoID" />
<index column="childTwoKEY" type="String" />
<element type="String" column ="childTwoVALUE" not-null ="false" />
</map>
</class>
...
But what must I do if I want to use objetcs as
KEYs or/and
VALUEs?
thx
eg