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

Browse Wiki Pages by Tags

Showing related tags and posts for the How to wiki. See all tags in the site
  • Localization techniques

    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...
    Posted to How to by brendan2452 on 10-28-2011
    Filed under: , , , ,
  • Use PostgreSQL Arrays with NHibernate

    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...
    Posted to How to by Dario Quintana on 03-09-2009
    Filed under: , , , ,
  • 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: , , ,
  • Using User Types

    In this section you'll find information about using custom user types Persisting Described Enums
    Posted to How to by Ken Egozi on 10-13-2008
    Filed under:
Page 1 of 1 (4 items)
Powered by Community Server (Commercial Edition), by Telligent Systems