コード例 #1
0
        public void Delete(Slice key, string treeName, ushort?version = null, bool shouldIgnoreConcurrencyExceptions = false)
        {
            AssertValidRemove(treeName);

            var batchOperation = BatchOperation.Delete(key, version, treeName);

            if (shouldIgnoreConcurrencyExceptions)
            {
                batchOperation.SetIgnoreExceptionOnExecution <ConcurrencyException>();
            }
            AddOperation(batchOperation);
        }
コード例 #2
0
        public void Delete(Slice key, string treeName, ushort?version = null)
        {
            AssertValidRemove(treeName);

            AddOperation(BatchOperation.Delete(key, version, treeName));
        }