Efficiently Loading Large SDLTB Termbases

Hi all,

I'm looking for the most efficient way to load a large number of entries from a MultiTerm .sdltb termbase using the COM API.

Currently, my code looks like this:

var originalEntries = termbase.Entries;
var originalEntryIDs = originalEntries.GetEntryIDs();
foreach (string entryId in originalEntryIDs)
{
...
var originalEntry = originalEntries.Item(entryId);
...
}

This approach works fine for small termbases. However, with 100,000+ entries, GetEntryIDs() never completes—it just runs indefinitely.

Is there a better approach, or even a way to access the entries directly from the .sdltb file without going through the COM layer?

Any tips would be greatly appreciated!

Thanks,
Helena