Map(x => x.DayOfWeek).CustomType<int>();
--
You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group.
To post to this group, send email to fluent-n...@googlegroups.com.
To unsubscribe from this group, send email to fluent-nhibern...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en.
> I understand that this should be possible using a fluent mapping like:
>
> Map(x => x.DayOfWeek).CustomType<int>();
Try
Map(x => x.DayOfWeek).CustomType<DayOfWeek>();
instead.
--
Asbjørn Ulsberg -=|=- asb...@ulsberg.no
«He's a loathsome offensive brute, yet I can't look away»