and you can even map to a special representation of any enum value. example at (shameless plug):
http://www.kenegozi.com/Blog/2008/10/12/described-enums-in-nhibernate.aspx On Sun, Apr 12, 2009 at 1:14 PM, Tuna Toksoz <[email protected]> wrote: > EnumStringType? > > Tuna Toksöz > Eternal sunshine of the open source mind. > > http://devlicio.us/blogs/tuna_toksoz > http://tunatoksoz.com > http://twitter.com/tehlike > > > > > On Sun, Apr 12, 2009 at 12:01 PM, saltcode <[email protected]> wrote: > >> >> >> I have a class with enum as property, mapping it to the database >> varchar datatype and i get this exception. >> >> NHibernate.MappingException: Could not compile the mapping document: > > > > > > -- Ken Egozi. http://www.kenegozi.com/blog http://www.delver.com http://www.musicglue.com http://www.castleproject.org http://www.gotfriends.co.il --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
