public void Dispose() { SetCacheContentAfterSaveMode(originalOption); } private RepositoryConfiguration.CacheContentAfterSaveOption GetCacheContentAfterSaveMode()