Allow eq/ne comparison of instances of same structured (complex or entity) type, allow eq/ne comparison with null for 0..1 nav props

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • V4.01_WD01
    • Affects Version/s: V4.0_OS
    • Component/s: URL Conventions
    • Environment:

      [Proposed] Complex Types

    • Hide

      can compare ordered collections: same members, same position
      can compare unordered collections: same members, any order. don't expect this to work though...
      can compare complex types by value (may fail if complex type contains unordered collection)
      -single-valued navigation properties reference the same entities
      -any collections of entities compare as equal
      -if unordered, reference the same entities in any order
      -if ordered, reference the same entities in same order
      can compare two entities (as being the same reference)
      ex: Person(1)/BestFriend eq Person(2)/WorstEnemy
      ex: Person(1)/BestFriend eq

      {"@odata.id":"/People(1)"}

      can compare entities to null:
      ex: Person(1)/BestFriend eq null

      Show
      can compare ordered collections: same members, same position can compare unordered collections: same members, any order. don't expect this to work though... can compare complex types by value (may fail if complex type contains unordered collection) -single-valued navigation properties reference the same entities -any collections of entities compare as equal -if unordered, reference the same entities in any order -if ordered, reference the same entities in same order can compare two entities (as being the same reference) ex: Person(1)/BestFriend eq Person(2)/WorstEnemy ex: Person(1)/BestFriend eq {"@odata.id":"/People(1)"} can compare entities to null: ex: Person(1)/BestFriend eq null
    • Show
      https://www.oasis-open.org/apps/org/workgroup/odata/download.php/59028/odata-v4.01-wd01-part1-protocol.docx https://www.oasis-open.org/apps/org/workgroup/odata/download.php/59029/odata-v4.01-wd01-part2-url-conventions.docx

      These are natural extensions of the query language

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

              Created:
              Updated:
              Resolved: