nHibernate persist IList<DayOfWeek>

Posted by Charlie Brown on Stack Overflow See other posts from Stack Overflow or by Charlie Brown
Published on 2010-03-30T15:59:12Z Indexed on 2010/03/30 16:03 UTC
Read the original article Hit count: 429

Filed under:
|
|

Is it possible to persist an IList<DayOfWeek> using nHibernate?

public class Vendor
{
    public virtual IList<DayOfWeek> OrderDays { get; private set; }
}

If not, what are some common solutions; creating a class for OrderDays?, using an IList<string>?

© Stack Overflow or respective owner

Related posts about nhibernate

Related posts about fluent-nhibernate