tags:

views:

181

answers:

1

Is it possble to use an Enum with Nhibernate? If so How?

+3  A: 

Yes you can.

In your XML mapping file

<property type="Namespace.EnumClass, Namespace" 
                            name="EnumValue" column="columnName"></property>

Example 1

Example 2

cgreeno
Thank you very much