I have an IList where the members are strings. I used the configuration below and it created the tables as I would have expected, but my collection is not saving.
Code:
<list name="Locales" table="myTable" access="nosetter.camelcase-underscore" cascade="all">
<key column="MyKey"/>
<index column="posn"/>
<element column="Name" type="string" length="10"/>
</list>
I debugged the code and found that in Cascades.cs (line 576)
the following line evals to "false"
if ( elemType.IsEntityType || elemType.IsObjectType || elemType.IsComponentType )
{
CascaedCollection(...) }
My other collections (e.g. one-to-many, many-to-many) are persisting but none of my "element" collections are.
Any help would be greatly appreciated.
Thanks,
Will