NHibernate Forge
The NHibernate community site.

Browse Wiki Pages by Tags

Showing related tags and posts for the Wikis application. See all tags in the site
  • Dynamically change user info in connection string

    In some cases our clients has to use the same database user id in each connection, so they can use audit and security features of their database system (and their DBAs will be happy [:)]). To do that in Nh We can use the ConnectionProvider facility. Just derive a class from the standard DriverConnectionProvider...
    Posted to How to by Fabio Maulo on 11-29-2008
    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: , , ,
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems