Exemple #1
0
        public bool ItemDelete(string key)
        {
            if (string.IsNullOrWhiteSpace(key))
            {
                throw new ArgumentException("Parameter is invalid.", "key", null);
            }

            try
            {
                bool result = _db.KeyDelete(key);
                return(result);
            }
            catch (Exception)
            {
                throw;
            }
            finally
            { }
        }
Exemple #2
0
 public void Exit()
 {
     database.KeyDelete("test");
 }