Hi,
How can i configure SysCache2 2nd-Level Cache with Fluent NHibernate configuration ?
private ISessionFactory CreateSessionFactory()
{
return Fluently.Configure()
.Database(MsSqlConfiguration.MsSql2008.ConnectionString(_connectionString)
.Cache(c => c.UseQueryCache())
.Dialect<FullTextSearchEnabledMsSql2008Dialect>()
.UseReflectionOptimizer())
.Mappings(m => m.FluentMappings.AddFromAssembly(Assembly.GetExecutingAssembly()))
.BuildSessionFactory();
}