Aaargh! It was so much on a wrong leg with this infamous “Invalid
Index n for this SqlParameterCollection with Count=n” error that I
overlooked the obvious: A duplicate mapping of a field for ONE of the
classes.
In that particular mapping I left this error, where the primary key is
also defined as a property:

     <id name="ID" column="ID">
       <generator class="guid" />
     </id>
     <property name="ID" column="ID" />

Now that was a waste of time trying to debug that looking in all the
wrong places!

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to