There is also an ObservableSet. I use this class as a "transient observable
set" since .net framework only have an observable list.
In order to configure the collection type factory I use:

configuration.Properties[Environment.CollectionTypeFactoryClass]
= typeof (WpfCollectionTypeFactory).AssemblyQualifiedName;

Stay in sync with the WPF sample (at http://nhforge.org/blogs/nhibernate/).


2009/8/24 Chris Willard <[email protected]>

>
> That is exactly what I needed!  I really appreciate all your great
> work...
>
> Chris
>
> On Aug 24, 3:02 pm, Fabio Maulo <[email protected]> wrote:
> > The proposal of CollectionTypeFactoryClass is allow the substitutions of
> all
> > persistent collections by default.If you want see an implementation using
> > observable collections it is available here:
> http://code.google.com/p/unhaddins/source/browse/#svn/trunk/uNhAddIns...
> >
> > <http://code.google.com/p/unhaddins/source/browse/#svn/trunk/uNhAddIns..
> .>You
> > can change it according to the implementations you are using.
> >
> > 2009/8/24 Chris Willard <[email protected]>
> >
> >
> >
> >
> >
> > > Hello,
> >
> > > I am using the observable collections implementation from the
> > > following post to handle collections within a WPF application.
> >
> > >http://happynomad121.blogspot.com/2007/12/collections-for-wpf-and-nhi.
> ..
> >
> > > I am currently adding ".CollectionType<ObservableSetType<T>>()" to
> > > each property within the fluent map classes but was wondering if there
> > > is a way to handle this type of thing globally.  I have seen some
> > > mention of setting the CollectionTypeFactoryClass but was not sure how
> > > (or if) that related to the actually collection implementation.  I am
> > > sure I am just missing something simple.  Any help would be greatly
> > > appreciated!
> >
> > > Thanks in advance,
> > > Chris
> >
> > --
> > Fabio Maulo
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to