-
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...