Beispiel #1
0
 public MetadataRowReader(MetadataTableReader mtrv)
 {
     m_mtrv         = mtrv;
     m_binaryReader = mtrv.GetReader();
     m_metadataRoot = mtrv.GetMetadataRoot();
     m_ciCache      = new int [13];
     m_counter      = new Utilities.TableRowCounter(m_mtrv.GetNumberOfRows);
 }
Beispiel #2
0
 public override void TerminateMetadataRoot(MetadataRoot root)
 {
     SetHeapIndexSize(root.Streams.StringsHeap, 0x01);
     SetHeapIndexSize(root.Streams.GuidHeap, 0x02);
     SetHeapIndexSize(root.Streams.BlobHeap, 0x04);
     m_tableReader = new MetadataTableReader(this);
     root.Streams.TablesHeap.Tables.Accept(m_tableReader);
 }