importSchema Method

Deprecated  use IModelDb.importSchemas instead as it is better to import a collection of schemas together rather than individually.

Import a single ECSchema.

importSchema(requestContext: ClientRequestContext | AuthorizedClientRequestContext, schemaFileName: string): Promise<void>

see IModelDb.importSchemas

Parameter Type Description
requestContext ClientRequestContext | AuthorizedClientRequestContext  
schemaFileName string  

Returns - Promise<void>

Defined in

Last Updated: 13 June, 2024