Hi

I may have been double posting, but I could not find my first mail on
the list to submit additional information. I apologize if it's just me
being too impatient.

Well... My former post was about mapping nullable enums, but I now
find, that this applies to all enums that maps to an int column in the
DB.

I use the mapping: Map(x => x.EnumType).CustomTypeIs(typeof(int))

It has worked before, but I have now updated to trunk, and now I get
an NHibernate exception when i get the entity, that says "Cannot parse
2 as EnumType".

Any one knows why?

Sincerely, Asger

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to