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); }
public void Batch_DeleteItem(WriteBatch batch, byte[] key) { var _key = CalcKey(Helper.tagKey_Item, key); batch.Delete(_key); }