registerModule MethodStatic
Register all of the classes found in the given module that derive from Entity.
register will be invoked for each subclass of Entity exported by moduleObj.
registerModule(moduleObj: any, schema: ): void
| Parameter | Type | Description |
|---|---|---|
| moduleObj | any | The module to search for subclasses of Entity |
| schema | The schema that contains all of the ECClasses exported by moduleObj. |
Returns - void
Defined in
- core/backend/src/ClassRegistry.ts Line 207
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.