title: NHibernate L2 Cache configuration in Fluent NHibernate
body: <p>Is ti possible to configure the L2 cache provider in code via FHN?</p>
  
  <p>Adding a line to the following config is what I'm after:</p>
  
  <pre><code> return Fluently.Configure()
                  .Database(MsSqlConfiguration.MsSql2005.ConnectionString(c =&gt; c.FromConnectionStringWithKey("Temp")).ShowSql())
                  .Mappings(m =&gt; m.FluentMappings.AddFromAssemblyOf&lt;IMap&gt;())
                  .ExposeConfiguration(c =&gt; { })
                  .BuildSessionFactory();
  </code></pre>
  
  <p>Cheers</p>
  
  <p>AWC</p>