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
- core/backend/src/ECDb.ts Line 130
Last Updated: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.