Navigation
API > API/Runtime > API/Runtime/TypedElementFramework > API/Runtime/TypedElementFramework/ICommonQueryContext
Description
Defers a relation change until the end of the current chunk loop. Removes any existing relation of this type where Target is the Subject, then creates a new one with NewObject as the Object. Pass InvalidRowHandle for NewObject to remove the existing relation without creating a new one. Safe to call from within a processor callback — does not call ICoreProvider directly.
| Name | SetRelation |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Interfaces/TypedElementQueryStorageInterfaces.h |
| Include Path | #include "Elements/Interfaces/TypedElementQueryStorageInterfaces.h" |
void SetRelation
(
RelationTypeHandle Type,
RowHandle Target,
RowHandle NewObject
)