private void CancelRemoval(Transaction trans, object obj, int index) { BTreeUpdate patch = (BTreeUpdate)KeyPatch(index); BTreeUpdate nextPatch = patch.RemoveFor(trans); _keys[index] = NewCancelledRemoval(trans, patch.GetObject(), obj, nextPatch); SizeIncrement(trans); }
public virtual Db4objects.Db4o.Internal.Btree.BTreeUpdate RemoveFor(Transaction trans ) { if (_transaction == trans) { return(_next); } if (_next == null) { return(this); } return(_next.RemoveFor(trans)); }
public virtual BTreeUpdate RemoveFor(Transaction trans ) { if (_transaction == trans) { return(_next); } if (_next != null) { _next = _next.RemoveFor(trans); } return(this); }