You could persist it in a backing field as a delimited string.

On Dec 6, 5:24 pm, Oskar Berggren <[email protected]> wrote:
> http://nhforge.org/doc/nh/en/index.html#collections
>
> <list>
>
> /Oskar
>
> 2010/12/6 Giulio Petrucci <[email protected]>:
>
>
>
>
>
> > Hi everybody,
>
> > Here is my scenario:
>
> > enum FooStatus
> > {
> >    A,
> >    B,
> >    C,
> >    D,
> >    ...,
> > }
>
> > class Foo
> > {
> >    ...
> >    protected List<FooStatus> filter = new List<FooStatus>();
> >    public void Add(FooStatus status)
> >    {
> >        filter.Add(status);
> >    }
> >    public void Remove(FooStatus status)
> >    {
> >        filter.Remove(status);
> >    }
> > }
>
> > How can I make persist the 'filter' collection?
> > (Sorry for such a "generic" question, but I really can't figure out
> > any solution).
>
> > Thanks in advance,
> > Giulio
>
> > --
>
> > --
> > 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 
> > athttp://groups.google.com/group/nhusers?hl=en.

-- 
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