I get the following error: Unable to pass an object of type "NHibernate.Collection.Generic.PersistentGenericSet" to enter "Iesi.Collections.Generic.SortedSet.
Invalid mapping information specified for type [Type], check the mapping file for property type mismatches. "
Here is my set definition:
<set name="ProcessTrackerDetails" lazy="true" access="field.camelcase-underscore"
sort="natural" cascade="all" inverse="true">
<key column="ProcessTrackerDetailsID"/>
<one-to-many class="ProcessTrackerDetail"></one-to-many>
</set>
And here is the code:
private Iesi.Collections.Generic.SortedSet<ProcessTrackerDetail> _processTrackerDetails = new SortedSet<ProcessTrackerDetail>();
Suggestions?
source
share