Semantic Key or Alternate Key for entity types

    • Hide

      Adopt the following community vocabulary by adding the term to the OData Core vocabulary and describing the behavior in [URL Conventions]:
      https://github.com/OData/vocabularies/blob/master/OData.Community.Keys.V1.md
      https://github.com/OData/vocabularies/blob/master/OData.Community.Keys.V1.xml

      AppliesTo should be EntityType and EntiySet. NavigationProperty would be an exception, is somewhat implied by entity set, and AppliesTo does not prohibit other uses.

      Contact the existing community vocabulary owners to say that the term has been adopted by the OData Core vocabulary and should be used moving forward.

      Show
      Adopt the following community vocabulary by adding the term to the OData Core vocabulary and describing the behavior in [URL Conventions] : https://github.com/OData/vocabularies/blob/master/OData.Community.Keys.V1.md https://github.com/OData/vocabularies/blob/master/OData.Community.Keys.V1.xml AppliesTo should be EntityType and EntiySet. NavigationProperty would be an exception, is somewhat implied by entity set, and AppliesTo does not prohibit other uses. Contact the existing community vocabulary owners to say that the term has been adopted by the OData Core vocabulary and should be used moving forward.
    • Show
      https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/4.01%20spec/vocabularies/Org.OData.Core.V1.xml?op=diff&rev=943

      Sometimes an entity type has a technical unique key, e.g. a sequence number or a guid, as well as one or more "semantic" or "alternate" keys, e.g. a User could be identified via a UserID or alternatively via an EmailAddress, or a Person could be identified via a Country+PassportNumber combination or a Country+SSN combination.

      These "semantic" or "alternate" keys may include nullable properties (you may not know a person's SSN, but if you know it, it identifies the person), and there could be more than one of them, each consisting of a different set of properties.

            Assignee:
            handl
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: