It depend on how you mapping the list and classes in it.

2008/10/6 srf <[EMAIL PROTECTED]>

>
> I have an IList collection and was finding some strange things
> happening when I tried to remove items from it. My list looks like
> this originally:
>
> item[0]= a
> item[1]= b
> item[2]= null
> item[3]= c
> item[4]= d
> item[5]= e
>
> now if I do a item.RemoveAt(1) , and save it, it removed b but it also
> removed c,d and e from the link table. I looked at the nhibernate
> source and it seems to want to compare the lengths of the original
> list size and the saving list size and removed starting at the saving
> list size going down. IM not sure , does anyone else have any problems
> removing items from a collection and getting the proper one removed
> from the nhibernate link table
>
>
> thanks
>
> scott
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
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