public void Configure(ICacheConfigurationProperties cache) { cache.Provider<AzureCacheProvider>(); cache.UseQueryCache = true; cache.RegionsPrefix = _shellSettings.Name; Logger.Information("Configured NHibernate cache provider '{0}' with regions prefix '{1}'.", typeof(AzureCacheProvider).Name, _shellSettings.Name); }
public void Configure(ICacheConfigurationProperties cache) { cache.Provider <AzureCacheProvider>(); cache.UseQueryCache = true; cache.RegionsPrefix = _shellSettings.Name; Logger.Information("Configured NHibernate cache provider '{0}' with regions prefix '{1}'.", typeof(AzureCacheProvider).Name, _shellSettings.Name); }
public static void QueryCacheFactory <TFactory>(this ICacheConfigurationProperties config) where TFactory : IQueryCacheFactory { ReflectHelper .CastOrThrow <CacheConfigurationProperties>(config, "Setting the query cache factory with Loquacious") .QueryCacheFactory <TFactory>(); }
public void Configure(ICacheConfigurationProperties cache) { cache.UseQueryCache = false; }
protected virtual void SetCache(ICacheConfigurationProperties cache) { }
public void Configure(ICacheConfigurationProperties cache) { cache.Provider <NHibernate.Caches.SysCache2.SysCacheProvider>(); cache.UseQueryCache = true; cache.RegionsPrefix = _shellSettings.Name; }
public void Configure(ICacheConfigurationProperties cache) { cache.Provider<NHibernate.Caches.SysCache2.SysCacheProvider>(); cache.UseQueryCache = true; cache.RegionsPrefix = _shellSettings.Name; }