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

Last Updated: 17 May, 2024