public int CompareTo(Db4objects.Db4o.Internal.Btree.BTreePointer y)
 {
     if (null == y)
     {
         throw new ArgumentNullException();
     }
     if (Btree() != y.Btree())
     {
         throw new ArgumentException();
     }
     return(Btree().CompareKeys(_transaction.Context(), Key(), y.Key()));
 }
示例#2
0
 public int CompareTo(BTreePointer y)
 {
     if (null == y)
     {
         throw new ArgumentNullException();
     }
     if (Btree() != y.Btree())
     {
         throw new ArgumentException();
     }
     return Btree().CompareKeys(_transaction.Context(), Key(), y.Key());
 }