I am using revision 451 and need to map an Enum. I discovered that
the AutoMapper does not do this by default. I've tried two approaches
at mapping my enum.
1) Manually with:
mapping.Map( m => m.MyEnumProperty );
2) Automatically by changing AutoMapColumn.IsMappableToColumnType by
including property.PropertyType.IsEnum
Regardless of the approach, I get the same result. I can query the
data fine. The problem comes when I try to store a new object
instance that has the enum property.
error:
No persister for: MyDomain.Business.MyEnum
My next step is to try to get the latest Fluent, though I know it will
be a breaking change. Any other ideas are welcomed.
Thanks,
Will
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---