Minimalist NHibernate 3 Loquacious Configuration

In NHibernate 3, they’ve brought in the Loquacious API to eliminate some of the XML burdens of NHibernate.

In most cases, the configuration of the ISessionFactory remains static between development and release. Of course anything that changes can be brought in via the App.config file.

This requires a connection string to be added to your App.config called DataConnection.