示例#1
0
        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);
        }
示例#2
0
 public virtual Db4objects.Db4o.Internal.Btree.BTreeUpdate RemoveFor(Transaction trans
                                                                     )
 {
     if (_transaction == trans)
     {
         return(_next);
     }
     if (_next == null)
     {
         return(this);
     }
     return(_next.RemoveFor(trans));
 }
示例#3
0
 public virtual BTreeUpdate RemoveFor(Transaction trans
                                      )
 {
     if (_transaction == trans)
     {
         return(_next);
     }
     if (_next != null)
     {
         _next = _next.RemoveFor(trans);
     }
     return(this);
 }