EDIT: I'm working with the 1.2 alpha right now.
Say I've got a MyTarget class with an IDictionary<string, MyProperty> collection mapped as:
Code:
<map name="Properties">
<key column="TargetId" />
<index column="`Key`" />
<one-to-many class="MyProperty" />
</map>
but it says I need to specify the type for the index even though the type should be available from either reflection or by the existing mapping for MyProperty:
Code:
<property name="Key" column="`Key`" length="256" not-null="true" />
I don't think this is a bug or anything, but wanted to check to make sure I wasn't missing something before I submitted a feature request... and I don't even know what that feature request would be... maybe for a new attribute for the <index> element called 'name' where you can specify the name of a property of the child object instead of the column?
Any thoughts?