I've generally had good success using LinqPad to work on queries for my Raven 2.5 (2750) database. I'm not using the Overby driver. Instead I'm just using the following references:
- Newtonsoft.Json.dll
- Raven.Abstractions.dll
- Raven.Client.Lightweight.dll
The following script is complaining that it can't find the definition for "AggregateBy" in Raven.Client.Linq.IRavenQueryable<T>
What am I missing?
My script is as follows (which works just fine inside my MVC 4 application)...
store.Initialize();
Raven.Client.RavenQueryStatistics stats;
using( var session = store.OpenSession( "munch" ) )
{
var results = session.Query<Munch.Domain.Log>("AllLogs/ByBaseProperty")
.Statistics(out stats)
.AggregateBy( x => x.MyProperty )
.ToList();
stats.Dump();
results.Dump();
}
Thanks,
Steve Brownell
EventBooking