NHibernate Forge
The official new home for the NHibernate community
Sign in
|
Join
|
Help
Home
Blog
Downloads
Wikis
Groups
Reference
Issue tracker
Users (free)
How to
Patterns&Practices
All Tags
»
DescriptionAttribute
Browse Wiki Pages by Tags
Showing related tags and posts for the
How to
wiki. See
all tags in the site
Enum
IUserType
Mapping
Persisiting Described Enums
Sometimes you'd want to map an Enum field to the DB. The default behaviour of NHibernate is to persist the Enum value ToString()'s output to the DB. But at times you'd rather persist a custom value for each enum value. Popular example will be: namespace Model { public enum SexType { Male...
Posted to
How to
by
Ken Egozi
on 10-13-2008
Filed under:
DescriptionAttribute
,
Enum
,
IUserType
,
Mapping
Page 1 of 1 (1 items)