System.ArgumentOutOfRangeException was unhandled
|
HResult=-2146233086
|
Message=Specified argument was out of the range of valid values.
|
Parameter name: Unable to find root IQueryable
|
Source=MongoDB.Driver
|
ParamName=Unable to find root IQueryable
|
StackTrace:
|
at MongoDB.Driver.Linq.MongoQueryTranslator.GetDocumentType(Expression expression) in C:\work\10gen\mongodb\mongo-csharp-driver\Driver\Linq\Translators\MongoQueryTranslator.cs:line 80
|
at MongoDB.Driver.Linq.MongoQueryTranslator.Translate(MongoQueryProvider provider, Expression expression) in C:\work\10gen\mongodb\mongo-csharp-driver\Driver\Linq\Translators\MongoQueryTranslator.cs:line 50
|
at MongoDB.Driver.Linq.MongoQueryProvider.Execute(Expression expression) in C:\work\10gen\mongodb\mongo-csharp-driver\Driver\Linq\MongoQueryProvider.cs:line 146
|
at MongoDB.Driver.Linq.MongoQueryable`1.GetEnumerator() in C:\work\10gen\mongodb\mongo-csharp-driver\Driver\Linq\MongoQueryable.cs:line 81
|
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
|
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
|
at MyApp.ConsoleApp.Program.Main(String[] args) in D:\MyApp\MyApp.ConsoleApp\Program.cs:line 67
|
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
|
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
|
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
|
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
|
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
|
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
|
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
|
at System.Threading.ThreadHelper.ThreadStart()
|
InnerException:
|
|