create MethodStatic
Create an instance of the Relationship.
create<T extends ElementRefersToElements<T>>(iModel: IModelDb, sourceId: string, targetId: string, memberPriority: number = 0): T
Parameter | Type | Description |
---|---|---|
iModel | IModelDb | |
sourceId | string | |
targetId | string | |
memberPriority | number |
Returns - T
an instance of the specified class.
Defined in
- backend/src/Relationship.ts Line 157
Last Updated: 30 November, 2023