示例#1
0
 public virtual Db4objects.Db4o.Internal.Btree.BTreeUpdate ReplacePatch(BTreePatch
                                                                        patch, Db4objects.Db4o.Internal.Btree.BTreeUpdate update)
 {
     if (patch == this)
     {
         update._next = _next;
         return(update);
     }
     if (_next == null)
     {
         throw new InvalidOperationException();
     }
     _next = _next.ReplacePatch(patch, update);
     return(this);
 }
示例#2
0
 public virtual BTreeUpdate ReplacePatch(BTreePatch
                                         patch, BTreeUpdate update)
 {
     if (patch == this)
     {
         update._next = _next;
         return(update);
     }
     if (_next == null)
     {
         throw new InvalidOperationException();
     }
     _next = _next.ReplacePatch(patch, update);
     return(this);
 }