API Reference > imodeljs-backend > Relationships > DrawingGraphicRepresentsElement DrawingGraphicRepresentsElement Class Relates a DrawingGraphic to the Element that it represents Extends ElementRefersToElements Extended by DrawingGraphicRepresentsFunctionalElement Inherited methods Name Inherited from Description buildConcurrencyControlRequest(opcode: DbOpcode): void ElementRefersToElements Add a request for the locks that would be needed to carry out the specified operation. delete(): void ElementRefersToElements Delete this Relationship from the iModel. forEachProperty(func: PropertyCallback, includeCustom: boolean = true): void ElementRefersToElements Call a function for each property of this Entity. insert(): string ElementRefersToElements Insert this Relationship into the iModel. update(): void ElementRefersToElements Update this Relationship in the iModel. create<T extends ElementRefersToElements<T>>(iModel: IModelDb, sourceId: string, targetId: string): T Static ElementRefersToElements Create an instance of the Relationship. getInstance<T extends Relationship<T>>(iModel: IModelDb, criteria: string | SourceAndTarget): T Static ElementRefersToElements insert<T extends ElementRefersToElements<T>>(iModel: IModelDb, sourceId: string, targetId: string): string Static ElementRefersToElements Insert a new instance of the Relationship. is(otherClass: undefined): boolean Static ElementRefersToElements return whether this Entity class is a subclass of another Entity class onDeletedDependency(_props: RelationshipProps, _iModel: IModelDb): void Static ElementRefersToElements Callback invoked by saveChanges on an ElementDrivesElement relationship when the relationship instance has been deleted. onRootChanged(_props: RelationshipProps, _iModel: IModelDb): void Static ElementRefersToElements Callback invoked by saveChanges on an ElementDrivesElement relationship when its input has changed or is the output of some upstream relationship whose input has changed. Inherited properties Name Type Inherited from Description classFullName Accessor ReadOnly string ElementRefersToElements Get the full BIS class name of this Entity in the form "schema:class". classFullName Accessor StaticReadOnly string ElementRefersToElements Get the full BIS class name of this Entity in the form "schema:class" className Accessor ReadOnly string ElementRefersToElements The name of the BIS class associated with this class. id string ElementRefersToElements The Id of this Entity. iModel IModelDb ElementRefersToElements The IModelDb that contains this Entity schema Static undefined ElementRefersToElements The Schema that defines this class. schemaName Accessor ReadOnly string ElementRefersToElements The name of the BIS Schema that defines this class sourceId Readonly string ElementRefersToElements targetId Readonly string ElementRefersToElements Defined in core/backend/src/Relationship.ts Line 110 Last Updated: 11 June, 2024