odata

Containment

Containment roughly corresponds to “Composition” in UML:

Containment is a feature of a navigation property only, the same entity type can be used in containment navigation properties, non-containment navigation properties, or entity sets. The “effective key” of a contained entity depends on the context: it is the key of the parent entity plus the (relative) key of the child entity.

Example:

These are different entities

/Orders/9/items/1
/Orders/9/items/2
/Orders/10/items/2