Is it possible to map an enum as a string using Fluent Nhibernate?
相关问题
- Fluent NHibernate automap PostGIS geometry type
- Setting Linq to NHibernate ADO Command Timeout
- Can auto mappings conventions work with mapping ov
- How can I create a Fluent NHibernate Convention th
- Could not find the property - exception after swit
相关文章
- Fluent NHibernate — Saving Entity with Composite K
- Null value objects in NHibernate
- Fluent nHibernate automapping property as nvarchar
- Nhibernate Conformist Mapping “Unable to determine
- Fluent NHibernate primary key constraint naming co
- NHibernate paging criteria with fetchmode eager. (
- Fluent Nhibernate - Mapping a list results in Null
- NHibernate many-to-many relationship question: can
and there is also the EnumString class you can pass as customType
Yes, it does that by default if you just do:
Make sure you're using the latest version off the trunk.
As Yavor Shahpasov pointed out in the comments, in more recent versions you can accomplish the same with: