/// <summary> /// Truncate a type /// </summary> /// <param name="type">The type to truncate</param> public override async Task TruncateAsync(Type type) { var folderPath = _pathProvider.GetTablePath(_basePath, DatabaseInstanceName, type, this); using (await _lock.LockAsync().ConfigureAwait(false)) { _iso.Purge(folderPath); } }
public static void PurgeAll() { var isoHelper = new IsoStorageHelper(); isoHelper.Purge("/"); }