Is it possible to map an enum as a string using Fluent Nhibernate?
+7
A:
Yes, it does that by default if you just do:
Map(x => x.YourProperty);
Make sure you're using the latest version off the trunk.
Garry Shutler
2009-02-02 14:15:03
That was much easier than I imagined!
Chris Conway
2009-02-02 14:34:31
+1
A:
and there is also the EnumString class you can pass as customType
Jan Limpens
2009-09-25 00:19:19