Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-650

Support LINQ All by converting to !Any

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Linq

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: