Hey thanks ...
Quote:
Therefore you have to choose between using an 3rd party library for sets (Iesi.Collections) or just use ILists for bags.
So,...
1. What do I use for Sets? (IList for bags... What for Sets?)
2. IList for bags... okay, but I'd need NHibernate.dll as well...
From doc...
Quote:
Namespace: NHibernate.Collection
Assembly: NHibernate (in NHibernate.dll)
Am I right? That you can't use dot-net framework "System.Collections.ICollection" for "sets" or "bags"?
3. When I look over doc for "Iesi.Collections" I found total of 8 collection types:
a. Hashset
b. DictionarySet
c. HybridSet
d. ImmutableSet
e. ListSet
f. SortedSet
g. Set
h. SynchronizedSet
And just ONE interface - "ISet"...
When do I use what?? I suppose it depends on my collection type specified in my mapping file right? But also from doc (
http://nhibernate.sourceforge.net/nh-do ... ollections), you can specify either:
1. Set
OR
2. Bag
....