So, I'm using the stack of fluent nhibernate, linq to nhibernate, nhibernate burrow and nhibernate (v2.1) in this project I'm working on. I was chugging along and everything was fine until I hit this error...
Invalid index 11 for this SqlParameterCollection with Count=11
A little research on google didn't return many results; this one post:
http://devlicio.us/blogs/derik_whittake ... error.aspxTalks for a workaround whereby you do not map the foreign key or id fields associated with a HasMany or References entity in mapping classes. Which instead it says to expose only a getter for the id fields from your object...
My question is, is this the proper approach..? Also, if it is the proper approach to fix this issue then how do you set the value on the parent object id fields so that it gets saved..?
Any assistance on how best to address this error would be great..!
Thanks..!