Exemple #1
0
        public override void LeafOp(IndexFile ixf, ref IndexFileRecord r, bool insert)
        {
            int       x       = FindSplit(ref r);
            long      childId = x == 0 ? FirstPage : GetChild(x);
            IndexPage cp      = ixf.GetPage(childId);

            cp.ParentId = PageId;
            cp.LeafOp(ixf, ref r, insert);
        }
Exemple #2
0
 public void Insert( ref IndexFileRecord r )
 {
   Root.LeafOp( this, ref r, true );
   Saved = false;
 }