/// <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);
            }
        }
Ejemplo n.º 2
0
        public static void PurgeAll()
        {
            var isoHelper = new IsoStorageHelper();

            isoHelper.Purge("/");
        }
Ejemplo n.º 3
0
 public static void PurgeAll()
 {
     var isoHelper = new IsoStorageHelper();
     isoHelper.Purge("/");
 }