createInstance Method

Create a new instance of a Relationship.

createInstance(props: RelationshipProps): Relationship

throws IModelError if there is a problem creating the Relationship.

Parameter Type Description
props RelationshipProps The properties of the new Relationship.

Defined in

Last Updated: 08 January, 2020