static BrandsCache() { //TODO: управление настройкой срока кеширования _brandsCache = new SingleObjectCache<BrandsCache>( null, 10 ); }
static CatalogItemsCache() { //_catalogItemsTableCache = new KeyedEntityCache<int, CatalogItem>( // global::RmsAuto.Store.Cms.Properties.Settings.Default.ex_rmsauto_storeConnectionString, // c => c.CatalogItemID ); _catalogItemsCache = new SingleObjectCache<CatalogItemsDictionary>( null/*new string[] { _catalogItemsTableCache.CacheKey }*/, 0); }