Beispiel #1
0
 public StringHeapCollection(IAllocateStringPage allocator, IPage initialPage)
 {
     this.allocator            = allocator;
     this.collectionRootPageId = initialPage.PageId();
     this.lastPageId           = this.collectionRootPageId;
 }
Beispiel #2
0
 public StringHeapCollection(IAllocateStringPage allocator, ITransaction tran)
 {
     this.allocator            = allocator;
     this.collectionRootPageId = this.allocator.AllocatePageStr(PageManagerConstants.NullPageId, PageManagerConstants.NullPageId, tran).Result.PageId();
     this.lastPageId           = this.collectionRootPageId;
 }