2

there are the following types of collection mapping in NHibernate:

Set
List
Bag
Idbag
Map
Array

Which one is better in use and why?

masoud ramezani
  • 21,262
  • 29
  • 96
  • 150

1 Answers1

7

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

Sanja Melnichuk
  • 3,465
  • 3
  • 24
  • 46