insertInstance Method
Insert a new relationship instance into the iModel.
insertInstance(props: RelationshipProps): Id64String
note The id property of the props object is set as a side effect of this function.
throws IModelError if unable to insert the relationship instance.
Parameter | Type | Description |
---|---|---|
props | RelationshipProps | The properties of the new relationship. |
Returns - The Id of the newly inserted relationship.
Defined in
Last Updated: 08 January, 2020