Type of the entity to be linked from
Creates an instance of Link.
Name of the linking field to be used in the OData request.
Entity API for building and executing the request.
Constructor of the linked entity.
Readonly
_deDummy property to include also the deserializer type in the strucutre of the entity type.
Readonly
_entityDummy property whose type makes structurally identical entities distiguishable in TypeScript.
Readonly
_entityReadonly
_fieldReadonly
_linkedList of selectables on the linked entity.
Filterables to apply to the given entity based on the linked entity.
List of criteria of the linked entity to order the given entity by with descending priority.
Create a new link based on a given link.
Newly created link.
Rest
...expands: Expandable<EntityType<LinkedEntityApiT>, DeSerializersT, EntityApi<EntityBase, DeSerializersT>>[]Create filter statements to be applied to the OData request based on the linked entity values.
Newly created FilterLink.
Rest
...filters: Filterable<EntityType<LinkedEntityApiT>, DeSerializersT, EntityApi<EntityBase, any>>[]Filters based on the linked entity.
Create order statements for the OData request based on the linked entity. The given statements have descending priority.
Entity.requestBuilder()
.getAll()
.orderBy(Entity.TO_LINKED_ENTITY.orderBy(asc(LinkedEntity.PROPERTY1), desc(LinkedEntity.PROPERTY2)));
Newly created order link.
Rest
...orderBy: Orderable<EntityType<LinkedEntityApiT>, EntityApi<EntityBase, DefaultDeSerializers>>[]Criteria to order by.
Creates a selection on a linked entity. Has the same behavior as GetAllRequestBuilderV2.select and GetByKeyRequestBuilderV4.select but for linked entities.
See also, Selectable.
The link itself, to facilitate method chaining.
Rest
...selects: Selectable<EntityType<LinkedEntityApiT>, DeSerializersT>[]Selection of fields or links on a linked entity.
Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.
Represents a link from one entity to one other linked entity (as opposed to a list of linked entities). In OData v2 a
OneToOneLink
can be used to filter and order a selection on an entity based on filters and orders on a linked entity.Type Param
Type of the entity to be linked to.