-
This page is a summary of the two main different approaches found all around the web on Property Localization using NHibernate, based on a post in spanish on my own blog. There are roughly two main paths Method 1: Using a custom IUserType This method is exposed thoroughly in a Fabio Maulo`s post called...
-
Postgresql supports the use of Arrays as a datatype for a column ( documentation ) - if you have a model that can storea List<string> for example, then in some cases its preferable to take advantage of this datatype, rather than requiring a join to a seperate table. This How To shows how you would...
-
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...
-
In this section you'll find information about using custom user types Persisting Described Enums