craiggwilson/fluent-mongo — Issue #31: GroupBy does not work
Author: ccm682
Created: 2011-10-19 17:27:54+00:00
State: open

Given:

var datacoll = db.GetCollection("SensorData");
var groups = datacoll.AsQueryable().GroupBy(x => x.PacketCounter);

where PacketCounter is an integer. Produces the following error:

Expression of type 'System.Collections.Generic.IEnumerable`1[MongoDB.Bson.BsonDocument]' cannot be used for constructor parameter of type 'System.Collections.Generic.IEnumerable`1[Masitek.Acquisition.ReadModel.SensorData]'