Hi
<resultMaps>
<resultMap id="resCatalog" class="Catalog">
<result property="xID" column="ID" />
<result property="xName" column="Name"/>
<result property="xCatalogLines" column="ID" select="GetLines"
lazyLoad="true" />
</resultMap>
<select id="GetAll" resultMap="resCatalog"
ParameterClass="System.Collections.IDictionary">
SELECT *
FROM
Catalog
WHERE
UserID = #UserID#
</select>
---
<select id="GetLines " resultMap="resCatalogLine">
select * FROM CatalogLines WHERE ???
Can the ParameterClass of 'GetAll' (System.Collections.IDictionary)
select statement, be passed to the GetLines statement? I need a value
from the System.Collections.IDictionary in the GetLines statement, where
I placed the three ?.
--
Kenneth Olsen