Example #1
0
        public override G.IEnumerable <IndexFileRecord> From(IndexFile ixf, DCompare seek, bool desc)
        {
            int       x       = FindSplit(seek);
            long      childId = x == 0 ? FirstPage : GetChild(x);
            IndexPage cp      = ixf.GetPage(childId);

            cp.ParentId = PageId;
            foreach (IndexFileRecord r in cp.From(ixf, seek, desc))
            {
                yield return(r);
            }
        }
Example #2
0
 public G.IEnumerable<IndexFileRecord> From( IndexPage.DCompare seek, bool desc )
 {
   foreach ( IndexFileRecord v in Root.From(this,seek,desc) ) yield return v;
 }