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

Linq Sum Operator throws exception

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 1.6
    • None
    • None
    • Windows 7 , .NET 4.0

    Description

      my C# driver version is 1.6.0.4624
      I was trying use Sum. Here is my code
      var q = coll.AsQueryable().Where(rw => rw.myDate == dt).Sum(t=>t.Sales);

      I get following exception
      System.NotSupportedException: The Sum query operator is not supported.

      Attachments

        Activity

          People

            Unassigned Unassigned
            senthil senthil
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: