Mapping a related table into an IDictionary<Guid, Tuple<String, Int32>>
<p>Say I have two tables, <code>tblTestClass</code> and <code>tblTestClassRelated</code>.  Table <code>tblTestClass</code> has an <code>Id</code> column, and other stuff.  Say table <code>tblTestClassRelated</code> has a <code>TestClassId</code> column, <code>SomeGuid</code>, <code>SomeName</code> and <code>SomeValue</code> columns.</p>

<p>This mapping will load columns <code>SomeGuid</code> and <code>SomeValue</code> on related <code>tblTestClassRelated</code> rows into an <code>IDictionary&lt;Guid, Int32&gt;</code> property on TestClass:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Test" namespace="Test"&gt;

&lt;class name="TestClass" table="tblTestClass" mutable="true"&gt;
    &lt;id name="Id" column="Id"&gt;
        &lt;generator class="assigned" /&gt;
    &lt;/id&gt;

    &lt;!-- Snip... --&gt;

    &lt;map name="MyDictionary" table="tblTestClassRelated" lazy="false" generic="true" inverse="false" cascade="all-delete-orphan"&gt;
        &lt;key column="TestClassId" /&gt;
        &lt;index column="SomeGuid" type="System.Guid" /&gt;
        &lt;element column="SomeValue" type="System.Int32" /&gt;
    &lt;/map&gt;
&lt;/class&gt;
&lt;/hibernate-mapping&gt;
</code></pre>

<p>Now, I need to do the same thing, but I want to load the Guid, String and Int32 values into an <code>IDictionary&lt;Guid, Tuple&lt;String, Int32&gt;&gt;</code>.</p>

<p>Can this be mapped?  I might be asking for too much; just trying to avoid creating a largely unnecessary dumb data class.</p>