Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Build Fluent nHibernate SQLite configuration in memory
/// <summary>
/// Builds the configuration.
/// </summary>
/// <returns>nHibernate SQLite configuration</returns>
protected override Configuration BuildConfiguration()
return Fluently.Configure()
.Mappings(m => m.FluentMappings
.ExposeConfiguration(x => x.SetProperty(NHibernate.Cfg.Environment.ReleaseConnections, "on_close"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment