Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
OData Version 4.01 defines Alternate Keys, which is a useful feature and should be implemented by OLingo.
4.3.5 Alternate Keys
In addition to the canonical (primary) key an entity set or entity type can specify one or more alternate keys with the Core.AlternateKeys term (see [OData-VocCore]). Entities can be addressed via an alternate key using the same parentheses-style convention as for the canonical key, with one difference: single-part alternate keys MUST specify the key property name to unambiguously determine the alternate key.
Example 24: the same employee identified via the alternate key SSN, the canonical (primary) key ID using the non-canonical long form with specified key property name, and the canonical short form without key property name
http://host/service/Employees(SSN='123-45-6789')