Using Fluent NHibernate, I come across the mapping AsBag()
and AsSet()
for HasMany
and HasManyToMany
relationships. I've done some searches, and I'm just not finding anything. Can anyone explain to me what these mean, and what the significance is?
The post here succinctly explains the differences.
In summary, they are both unordered collections:
Check out this SO article: List vs Set vs Bag in NHibernate
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With