Fluent NHibernate, Fluent Configuration

written by tobinharris on August 18th, 2008 @ 04:33 PM

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.



kick it on DotNetKicks.com



Post a comment

Options:

Size

Colors