/// <summary> /// Delete all items in the cache. /// </summary> public void DeleteCache() { lock (_objectCache) { _objectCache.Clear(); StoreProvider.Clear(); StoreProvider.Flush(true); } }