schemaContext
GetterReadOnly
Gets the context that allows accessing the metadata (@itwin/ecschema-metadata package) of this iModel.
For runtime read-only access - class/property iteration, IS-A checks, navigating relationships, KOQ lookups -
prefer getSchemaView. schemaContext remains the right choice when you need schema authoring
(via @itwin/ecschema-editing), custom-attribute deserialization, or the full ecschema-metadata object graph.
schemaContext: SchemaContext
Returns - SchemaContext
Defined in
- backend/src/IModelDb.ts Line 1716
Last Updated: 27 May, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.