Query metadata for this entity class from the iModel's schema. Returns cached metadata if available.

getMetaData(): Promise<EntityClass | RelationshipClass>

@throws IModelError if there is a problem querying the schema

@returns The metadata for the current entity

Returns - Promise<EntityClass | RelationshipClass>

The metadata for the current entity

Defined in

Last Updated: 02 August, 2025