ReadRelationInstance
ReadRelationInstance<
TItem> =ReadOneRelationInstance<TItem> |ReadManyRelationInstance<TItem>
Navigates a Relation from one of its sides, as exposed by relations on an Item.
Type Parameters
Section titled “Type Parameters”TItem extends ReadItem = ReadItem
The type of the target Item.
Remarks
Section titled “Remarks”Relations are always reached from an Item, and the Item’s side fixes the direction. For
Employee 0..1 -- assigned --> 0..1 ParkingSpace, employee.relations.assigned navigates from the employee
(the source) to the parking space (the target), and parkingSpace.relations.assigned navigates the same
Relation the other way. The type discriminator tells whether the side reached holds one target or many.
- Relate items
- RelationBuilder for declaring a Relation
- RelationDefinition for the emitted Definition

