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
  • 22,228
  • 29
  • 98
  • 151

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
  • 25
  • 46