Support LINQ All by converting to !Any

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: LINQ
    • None
    • None
    • None
    • None
    • None
    • None

      The following two LINQ queries are semantically equivalent:

      1. queryable.All(d => d.Field)
      2. !queryable.Any(d => !d.Field)

      The second LINQ query is supported by the C# driver, whereas the first is not.

      In principle it should be possible to support the first query as well by translating it into the second query.

              Assignee:
              Unassigned
              Reporter:
              Zaid Masud
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: