コード例 #1
0
        /// <summary>
        /// 刷新全部缓存区
        /// </summary>
        public void FlushAllCache()
        {
            if (DbCacheManager == null)
            {
                throw new InvalidOperationException("DbCacheManager is undefined, please define it first.");
            }

            DbCacheManager.FlushAllCache();
        }
コード例 #2
0
 /// <summary>
 /// 清空全部缓存
 /// </summary>
 public void FlushAllCache() => DbCacheManager.FlushAllCache(this);