Here’s what’s needed to have NHibernate map an enumeration by the enumeration name instead of the number.

<property name="DayOfWeek" type="NHibernate.Type.EnumStringType`1[System.DayOfWeek, mscorlib], NHibernate"></property>