The iModel transformer was originally designed around the concept of a deferral queue for handling unresolved references, so it was optimal to traverse the iModel in definition hierarchy order. This causes a lot of unnecessary querying that is no longer necessary now that the transformer no longer uses that concept of deferral.
We should be able to just loop through the entire bis.Element table and export each one in order, potentially handling the rare cases where a required reference (e.g. ViewDefinition->modelSelector) was updated to be an earlier one.
The iModel transformer was originally designed around the concept of a deferral queue for handling unresolved references, so it was optimal to traverse the iModel in definition hierarchy order. This causes a lot of unnecessary querying that is no longer necessary now that the transformer no longer uses that concept of deferral.
We should be able to just loop through the entire
bis.Element
table and export each one in order, potentially handling the rare cases where a required reference (e.g.ViewDefinition->modelSelector
) was updated to be an earlier one.