importSchema Method
Import a schema.
If the import was successful, the database is automatically saved to disk.
importSchema(pathName: string): void
throws IModelError if the database is not open or if the operation failed.
Parameter | Type | Description |
---|---|---|
pathName | string | Path to ECSchema XML file to import. |
Returns - void
Defined in
- backend/src/ECDb.ts Line 130
Last Updated: 20 June, 2023