<< 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...
.NET Gem Fun
Automating .NET development (and NHibernate) with IronRuby + Rake
Get a Rails-Stylee Interactive Shell For Your NHibernate Backed Domain Model
In Memory SQLite Testing with NHibernate
NHibernate Trick
NHibernate: Calling Update Unnecessarily
.NET Config for Multiple Developers
NHibernate in Action 2nd Edition - Your Opinion
Shorthand Repository Accessors
NHibernate for Ruby?

kick it on DotNetKicks.com
blog comments powered by Disqus