API Reference > imodeljs-backend > iModels > IModelTransformer > onTransformRelationship onTransformRelationship MethodProtected Transform the specified sourceRelationship into RelationshipProps for the target iModel. onTransformRelationship(sourceRelationship: Relationship): RelationshipProps note A subclass can override this method to provide custom transform behavior. Parameter Type Description sourceRelationship Relationship The Relationship from the source iModel to be transformed. Returns - RelationshipProps RelationshipProps for the target iModel. Defined in core/backend/src/IModelTransformer.ts Line 693 Last Updated: 12 June, 2024