Is it possble to use an Enum with Nhibernate? If so How?
Yes you can.
In your XML mapping file
<property type="Namespace.EnumClass, Namespace"
name="EnumValue" column="columnName"></property>
Example 1
Example 2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With