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

Linq Sum Operator throws exception

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.6
    • Component/s: None
    • None
    • Environment:
      Windows 7 , .NET 4.0

      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.

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

              Created:
              Updated:
              Resolved: