BisCoreSchema Class

The BisCore schema is the lowest level Schema in an iModel.

It is automatically registered when IModelHost.startup is called.

Example:


    // Make sure somewhere in your startup code you call: IModelHost.startup()

    // Get the JavaScript class for the "Element" BIS Class
    const elementClass = ClassRegistry.findRegisteredClass("BisCore:Element")!;
    assert.equal("BisCore", elementClass.schema.schemaName);
    assert.equal("Element", elementClass.className);

Extends

Properties

Name Type Description
schemaFilePath Accessor StaticReadOnly string    
schemaName Accessor StaticReadOnly string    

Defined in

Last Updated: 08 January, 2020