title: How to map IDictionary<string, Entity> in Fluent NHibernate
body: <p>I have an class with an IDictionary on it.</p>
  
  <pre><code>  &lt;map name="CodedExamples" table="tOwnedCodedExample"&gt;
      &lt;key&gt;
        &lt;column name="OwnerClassID"/&gt;
      &lt;/key&gt;
      &lt;index type="string" column="ExampleCode"/&gt;
      &lt;many-to-many class="CodedExample" column ="CodedExampleClassID"/&gt;
    &lt;/map&gt;
  </code></pre>
  
  <p>as you can see it uses a many-to-many to get the CodedExamples from their table using the tOwnedCodedExample table to find which are owned by the OwnerClass.</p>
  
  <p>I realise that this is a very basic (and hopefully standard) mapping but am struggling and can't find any documentation for it, therefore would be very grateful of any help possible.</p>
  
  <p>Many Thanks</p>
  
  <p>Stu</p>