ElementDrivesElement Class
Beta
A Relationship where one Element drives another Element
Extends
Implements
Methods
| Name | Description | |
|---|---|---|
| create<T extends ElementRefersToElements>(iModel: IModelDb, sourceId: Id64String, targetId: Id64String, priority: number = 0): T extends ElementRefersToElements Static | 
Inherited methods
| Name | Inherited from | Description | 
|---|---|---|
| buildConcurrencyControlRequest(opcode: DbOpcode): void | Relationship | Add a request for the locks that would be needed to carry out the specified operation. | 
| delete(): void | Relationship | Delete this Relationship from the iModel. | 
| forEachProperty(func: PropertyCallback, includeCustom: boolean = false): void | Entity | Call a function for each property of this Entity. | 
| insert(): Id64String | Relationship | Insert this Relationship into the iModel. | 
| update(): void | Relationship | Update this Relationship in the iModel. | 
| getInstance<T extends Relationship>(iModel: IModelDb, criteria: Id64String | SourceAndTarget): T extends Relationship Static | Relationship | |
| onDeletedDependency(_props: RelationshipProps, _iModel: IModelDb): void Static | Relationship | |
| onRootChanged(_props: RelationshipProps, _iModel: IModelDb): void Static | Relationship | |
| onValidateOutput(_props: RelationshipProps, _iModel: IModelDb): void Static | Relationship | 
Properties
| Name | Type | Description | |
|---|---|---|---|
| priority | number | ||
| status | number | 
Inherited properties
| Name | Type | Inherited from | Description | 
|---|---|---|---|
| classFullName Accessor ReadOnly | string | Entity | Get the full BIS class name of this Entity in the form "schema:class". | 
| classFullName Accessor StaticReadOnly | string | Entity | Get the full BIS class name of this Entity in the form "schema:class" | 
| className Accessor ReadOnly | string | Entity | The name of the BIS class associated with this class. | 
| id | Id64String | Entity | The Id of this Entity. | 
| iModel | IModelDb | Entity | The Entity.IModelDb that contains this Entity | 
| schema Static | Schema | Entity | The Schema that defines this class. | 
| schemaName Accessor ReadOnly | string | Entity | The name of the BIS Schema that defines this class | 
| sourceId | Id64String | Relationship | |
| targetId | Id64String | Relationship | 
Defined in
Last Updated: 08 January, 2020