Esempio n. 1
0
        private void parseSyssingleobjrefs()
        {
            // Using a fixed object ID, we can look up the partition for sysscalartypes and scan the hobt AU from there
            long rowsetID = sysrowsets
                            .Where(x => x.idmajor == (int)SystemObject.syssingleobjrefs && x.idminor == 1)
                            .Single()
                            .rowsetid;

            var pageLoc = new PagePointer(
                sysallocunits
                .Where(x => x.auid == rowsetID && x.type == 1)
                .Single()
                .pgfirst
                );

            syssingleobjrefs = scanner.ScanLinkedDataPages <syssingleobjref>(pageLoc, CompressionContext.NoCompression).ToList();
        }