The generic IList add IndexOf(9, RemoveAt(), Insert() and Item[] compared to ICollection<>. All of those deal with index, and if you really need any of those, it should probably be mapped as a <list> instead of set or bag.
/Oskar 2010/1/27 Graham Bunce <[email protected]>: > I use bag's with IList and don't have any performance problems that > i've noticed. In my mapping I also have a key column to map to the SQL > table primary key. > > However in NH 2.1.x you can have ICollection instead and still use > sets. If there is anything you need from the IList specific to your > application create an ICollection extension method to do that > functionality. > > -- > 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. > > -- 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.
