register Method
Registers a single entityClass defined in the specified schema.
This method registers the class globally. To register a class for a specific iModel, use jsClassMap.
register(entityClass: Entity, schema: Schema): void
@throws Error if the class is already registered.
| Parameter | Type | Description |
|---|---|---|
| entityClass | Entity | The JavaScript class that implements the BIS ECClass to be registered. |
| schema | Schema | The schema that contains the entityClass. |
Returns - void
Defined in
Last Updated: 02 December, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.