Skip to content

Exact meaning of EntitySetPath: same order or some order? #2065

@HeikoTheissen

Description

@HeikoTheissen

Consider a bound operation with entity set path:

<Action Name="Act" IsBound="true" EntitySetPath="Order/Items">
  <Parameter Name="Order" Type="self.Order" />
  <ReturnType Type="self.OrderItem" />
</Action>

where Items is a containment navigation property.

Does this mean that the return value is contained in Orders('A')/Items for some key A? Or for the key of the binding parameter (Order/ID = 'A')?

In the first case, the EntitySetPath would not define an entity set. It would be analogous to a navigation property binding with target path ns.Container/Orders/Items, which is forbidden.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions