Frontend ECSQL Code Examples

For working directly with an iModel from the frontend, an IModelConnection is used.

Use IModelConnection.createQueryReader to create an ECSqlReader that can be used to interact with the results from the executed ECSQL statement.

Refer to the general ECSQL Code Examples. All of the references to an iModel object in those examples can be considered IModelConnection objects.

Last Updated: 18 August, 2023