Пример #1
0
        public void PutItem_Batch(WriteBatch batch, byte[] key, IValue value)
        {
            var _key = CalcKey(Helper.tagKey_Item, key);

            (value as IValueCreator).Batch_PutToDB(batch, this.db, _key);
        }
Пример #2
0
        public void Batch_DeleteItem(WriteBatch batch, byte[] key)
        {
            var _key = CalcKey(Helper.tagKey_Item, key);

            batch.Delete(_key);
        }