Beispiel #1
0
        private static int InvalidatePageCacheAll()
        {
            var count = CachePages.CountTable(0);

            CachePages.TruncateTable();
            return(count);
        }
        private static void InvalidatePageCacheAll()
        {
            var count = CachePages.CountTable(0);

            VotePage.LogInfo("LocalCacheInvalidation", "Begin InvalidatePageCacheAll:" +
                             count);
            CachePages.TruncateTable();
            VotePage.LogInfo("LocalCacheInvalidation", "End InvalidatePageCacheAll:" +
                             count);
        }