I used this How do you map an enum as an int value with fluent NHibernate? to map in the past but I\'ve recently upgraded to NHibernate 3 and this doesn\'t seem to work anym
Simply doing Map( m => m.MyEnum ).CustomType seems to work just fine now.
If anyone knows why IUserTypeConvention doesn't work with Fluent NHibernate in NHibernate 3, I'd still like to know why. Maybe it's because mapping the custom type to the enum works now, but why wasn't it removed from the lib then?