NHibernate Forge
The official new home for the NHibernate for .NET community

Browse Site by Tags

Showing related tags and posts across the entire site.
  • 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 (20 items)
Powered by Community Server (Commercial Edition), by Telligent Systems