This issue seems familiar to me, but I don't see anything in my
searches.

My mappings that specify a UserType to handle my enumeration mappings
seem to be ignoring the .CustomeTypeIs call.

  Map(x => x.State,
"ti_State").CustomTypeIs<Util.EnumToIntUserType<TransactionState>>();

(EnumToIntUserType is a custome UserType I built)

The hbm is outputting:

  <property name="State"
type="FluentNHibernate.Mapping.GenericEnumMapper`1
[[Clearwave.Models.Eligibility.TransactionState, Clearwave.Models,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]],
FluentNHibernate, Version=0.1.0.0, Culture=neutral,
PublicKeyToken=8aa435e3cb308880">

Notice that the type is the GenericEnumMapper instead of my UserType.

Does this ring any bells for anyone?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to