Ejemplo n.º 1
0
        protected void EnsureHeaderModified()
        {
            var page = _pageLocator.GetWritablePage(_sectionHeader->PageNumber);

            _sectionHeader = (RawDataSmallSectionPageHeader *)page.Pointer;
        }
Ejemplo n.º 2
0
        internal TreePage GetWriteableTreePage(long pageNumber)
        {
            var page = _pageLocator.GetWritablePage(pageNumber);

            return(new TreePage(page.Pointer, _pageLocator.PageSize));
        }