https://github.com/francescocrimi/cicciosoft.nhbcollections
NHibernate List, Bag and Set that implement IBindingList, INotifyCollectionChanged or both
https://github.com/francescocrimi/cicciosoft.nhbcollections
bindinglist ibindinglist ilist inotifycollectionchanged iset nhibernate objectrelationalmapping observablecollection orm uwp winforms wpf
Last synced: 8 months ago
JSON representation
NHibernate List, Bag and Set that implement IBindingList, INotifyCollectionChanged or both
- Host: GitHub
- URL: https://github.com/francescocrimi/cicciosoft.nhbcollections
- Owner: FrancescoCrimi
- License: lgpl-2.1
- Created: 2019-10-15T23:52:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-06-28T14:54:51.000Z (11 months ago)
- Last Synced: 2025-09-24T03:27:39.997Z (8 months ago)
- Topics: bindinglist, ibindinglist, ilist, inotifycollectionchanged, iset, nhibernate, objectrelationalmapping, observablecollection, orm, uwp, winforms, wpf
- Language: C#
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# CiccioSoft.NhbCollections
[](https://www.nuget.org/packages/CiccioSoft.NhbCollections/)
## Summary
This library adds support for IBindingList and INotifyCollectionChanged to NHibernate bag, set and list.
## How To
### to add IBindingList to NHibernate bag, set and list:
```csharp
NHibernate.Cfg.Configuration configuration = new NHibernate.Cfg.Configuration();
...
configuration.SetProperty(NHibernate.Cfg.Environment.CollectionTypeFactoryClass,
"CiccioSoft.NhbCollections.CollectionBindingTypeFactory, CiccioSoft.NhbCollections");
```
### to add INotifyCollectionChanged to NHibernate bag, set and list:
```csharp
NHibernate.Cfg.Configuration configuration = new NHibernate.Cfg.Configuration();
...
configuration.SetProperty(NHibernate.Cfg.Environment.CollectionTypeFactoryClass,
"CiccioSoft.NhbCollections.CollectionObservableTypeFactory, CiccioSoft.NhbCollections");
```
### to add IBindingList and INotifyCollectionChanged to NHibernate bag, set and list:
```csharp
NHibernate.Cfg.Configuration configuration = new NHibernate.Cfg.Configuration();
...
configuration.SetProperty(NHibernate.Cfg.Environment.CollectionTypeFactoryClass,
"CiccioSoft.NhbCollections.CollectionCiccioTypeFactory, CiccioSoft.NhbCollections");
```