Linq Sum Operator throws exception

XMLWordPrintableJSON

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

      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
              Reporter:
              senthil
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: