insert MethodStatic

Insert a InformationRecordPartition and a InformationRecordModel that breaks it down.

insert(iModelDb: IModelDb, parentSubjectId: Id64String, name: string): Id64String

throws IModelError if there is an insert problem.

Parameter Type Description
iModelDb IModelDb Insert into this iModel
parentSubjectId Id64String The InformationRecordPartition will be inserted as a child of this Subject element.
name string The name of the InformationRecordPartition that the new InformationRecordModel will break down.

Returns - The Id of the newly inserted InformationRecordModel.

Defined in

Last Updated: 08 January, 2020