Пример #1
0
 public virtual void Append(Db4objects.Db4o.Internal.Btree.BTreeUpdate patch)
 {
     if (_transaction == patch._transaction)
     {
         throw new ArgumentException();
     }
     if (!HasNext())
     {
         _next = patch;
     }
     else
     {
         _next.Append(patch);
     }
 }
Пример #2
0
 public virtual void Append(BTreeUpdate patch)
 {
     if (_transaction == patch._transaction)
     {
         // don't allow two patches for the same transaction
         throw new ArgumentException();
     }
     if (!HasNext())
     {
         _next = patch;
     }
     else
     {
         _next.Append(patch);
     }
 }