<< back to blog

Fluent NHibernate, Fluent Configuration

nhibernate ~ .net

18 Aug, 2008

Chad Myers points out a fluent way of configuring NHibernate on his blog. Nice!

He explains that this is possible in the current release:

MsSqlConfiguration
   .MsSql2005
   .ConnectionString.Is("Server=(local);Database=dbname;uid=user;pwd=password");
   .Configure( nhibConfig );

Apparently it’s already in the Fluent NHibernate trunk.

You may also like...
NHibernate: Calling Update Unnecessarily
.NET Config for Multiple Developers
NHibernate in Action 2nd Edition - Your Opinion
Shorthand Repository Accessors
NHibernate for Ruby?
Sparklines for your favourite SVN repos
A little love for nhforge.org
NHibernate in Action has arrived :)
Release It! OpsDb Implementation with Fluent NHibernate Auto-Mappings
Short n' Sweet NHibernate Sample

kick it on DotNetKicks.com
blog comments powered by Disqus