ClassRegistry Class

The mapping between a class name (schema.class) and its constructor function

Methods

Name Description
findRegisteredClass(classFullName: string): Entity | undefined Static Find a registered class by classFullName (must be all lowercase, caller should ensure that)  
getClass(fullName: string, iModel: IModelDb): Entity Static Get the Entity class for the specified Entity.  
registerModule(moduleObj: any, schema: Schema): void Static Register all of the classes found in the given module that derive from Entity.  

Defined in

Last Updated: 13 May, 2019