there are the following types of collection mapping in NHibernate:
Set
List
Bag
Idbag
Map
Array
Which one is better in use and why?
there are the following types of collection mapping in NHibernate:
Set
List
Bag
Idbag
Map
Array
Which one is better in use and why?
There are no good or bad collections.They are used for different purposes.
For example if you have unique elements you should use set.
You can start from here