craiggwilson/fluent-mongo — Issue #48: Sum gets the wrong object
Author: SwearWord
Created: 2012-02-09 11:12:32+00:00
State: open

public class Example {
List Tags {get;set}
}

GetCollection("Example").AsQueryable().Select(x => x.Tags.Sum(o => o.Length)).Take(5).ToList();

The error is Property 'Int32 Length' is not defined for type 'Example'

The type should string.