Sunday, August 17, 2008 10:27 PM
Just a quick post about FluentNHibernate. Its such a simple project that is really going to take NHibernate to a new level. The basics are there, and although the AutoMap stuff has just been committed I have already found a feature that has made it a must have: fluent configuration.
var properties = PostgreSQLConfiguration
.PostgreSQL82
.ConnectionString.Is("User ID=postgres;Password=xxx;Host=localhost;Port=5432;Database=test;")
.ToProperties();
var cfg = new Configuration()
.AddProperties(properties);
Awesome!