От: | CreatorCray | ||
Дата: | 26.12.16 21:50 | ||
Оценка: |
Загрузка дополнительных сообщений — CriticalError
LinqToDB.Linq.LinqException: Sequence 'db.Rates(r => (((r.MessageID == Convert(ps[1]).messageId) AndAlso (r.UserID == Convert(ps[1]).userId)) AndAlso (Convert(r.RateType) == Convert(Convert(ps[3])))))' cannot be converted to SQL.
at LinqToDB.Linq.Builder.ExpressionBuilder.BuildSequence(BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\ExpressionBuilder.cs:line 190
at LinqToDB.Linq.Builder.UpdateBuilder.Set.BuildMethodCall(ExpressionBuilder builder, MethodCallExpression methodCall, BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\UpdateBuilder.cs:line 406
at LinqToDB.Linq.Builder.MethodCallBuilder.BuildSequence(ExpressionBuilder builder, BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\MethodCallBuilder.cs:line 22
at LinqToDB.Linq.Builder.ExpressionBuilder.BuildSequence(BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\ExpressionBuilder.cs:line 177
at LinqToDB.Linq.Builder.UpdateBuilder.Set.BuildMethodCall(ExpressionBuilder builder, MethodCallExpression methodCall, BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\UpdateBuilder.cs:line 406
at LinqToDB.Linq.Builder.MethodCallBuilder.BuildSequence(ExpressionBuilder builder, BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\MethodCallBuilder.cs:line 22
at LinqToDB.Linq.Builder.ExpressionBuilder.BuildSequence(BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\ExpressionBuilder.cs:line 177
at LinqToDB.Linq.Builder.UpdateBuilder.Set.BuildMethodCall(ExpressionBuilder builder, MethodCallExpression methodCall, BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\UpdateBuilder.cs:line 406
at LinqToDB.Linq.Builder.MethodCallBuilder.BuildSequence(ExpressionBuilder builder, BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\MethodCallBuilder.cs:line 22
at LinqToDB.Linq.Builder.ExpressionBuilder.BuildSequence(BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\ExpressionBuilder.cs:line 177
at LinqToDB.Linq.Builder.UpdateBuilder.Set.BuildMethodCall(ExpressionBuilder builder, MethodCallExpression methodCall, BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\UpdateBuilder.cs:line 406
at LinqToDB.Linq.Builder.MethodCallBuilder.BuildSequence(ExpressionBuilder builder, BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\MethodCallBuilder.cs:line 22
at LinqToDB.Linq.Builder.ExpressionBuilder.BuildSequence(BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\ExpressionBuilder.cs:line 177
at LinqToDB.Linq.Builder.UpdateBuilder.BuildMethodCall(ExpressionBuilder builder, MethodCallExpression methodCall, BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\UpdateBuilder.cs:line 24
at LinqToDB.Linq.Builder.MethodCallBuilder.BuildSequence(ExpressionBuilder builder, BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\MethodCallBuilder.cs:line 22
at LinqToDB.Linq.Builder.ExpressionBuilder.BuildSequence(BuildInfo buildInfo) in i:\linq2db\Source\Linq\Builder\ExpressionBuilder.cs:line 177
at LinqToDB.Linq.Builder.ExpressionBuilder.Build[T]() in i:\linq2db\Source\Linq\Builder\ExpressionBuilder.cs:line 148
at LinqToDB.Linq.CompiledTable`1.GetInfo(IDataContext dataContext) in i:\linq2db\Source\Linq\CompiledTableT.cs:line 65
at LinqToDB.Linq.CompiledTable`1.Execute(Object[] parameters) in i:\linq2db\Source\Linq\CompiledTableT.cs:line 91
at lambda_method(Closure , Object[] )
at LinqToDB.CompiledQuery.ExecuteQuery[TResult](Object[] args) in i:\linq2db\Source\CompiledQuery.cs:line 33
at LinqToDB.CompiledQuery.Invoke[TDC,T1,T2,T3,TResult](TDC dataContext, T1 arg1, T2 arg2, T3 arg3) in i:\linq2db\Source\CompiledQuery.cs:line 134
at Rsdn.Janus.MessagesSyncHelper.AddNewRates(IDataContext db, JanusRatingInfo[] rates, Action`2 progressHandler) in C:\Rsdn\TeamCity\buildAgent\work\7d226ac7ab34ad6\Rsdn\Janus.Rsdn\Synchronization\Tasks\MessagesSyncHelper.cs:line 170
at Rsdn.Janus.MessagesSyncHelper.AddNewMessages(ISyncContext context, JanusMessageInfo[] messages, JanusRatingInfo[] rates, JanusModerateInfo[] moderatorials, Action`1 afterProcessInTxHandler, Int32 selfID) in C:\Rsdn\TeamCity\buildAgent\work\7d226ac7ab34ad6\Rsdn\Janus.Rsdn\Synchronization\Tasks\MessagesSyncHelper.cs:line 269
at Rsdn.Janus.TopicSyncTask.ProcessResponse(ISyncContext context, TopicRequest request, TopicResponse response) in C:\Rsdn\TeamCity\buildAgent\work\7d226ac7ab34ad6\Rsdn\Janus.Rsdn\Synchronization\Tasks\TopicSyncTask.cs:line 56
at Rsdn.Janus.SimpleSyncTask`3.Sync(ISyncContext context, TSvc svc, Int32 retries, ITaskIndicator indicator)
琉硥⽴瑨汭믯㲿䐡䍏奔䕐䠠䵔⁌啐䱂䍉∠⼭圯䌳⼯呄⁄呈䱍㐠〮吠慲獮瑩潩慮⽬䔯≎ാ㰊瑨汭ാऊ格慥㹤उ洼瑥瑨灴攭畱癩∽潃瑮湥祔数•潣瑮湥㵴琢硥⽴瑨汭※档牡敳㵴瑵ⵦ∸ാऊ㰉楴汴㹥ꇐ뿐룐臑뻐뫐턠톁킂톰킂킵㲹琯瑩敬ാऊ㰉楬歮栠敲㵦樢湡獵⼺猯祴敬是牯浵挮獳•敲㵬猢祴敬桳敥≴琠灹㵥琢硥⽴獣≳ാऊ㰉楬歮栠敲㵦樢湡獵⼺猯祴敬樯湡獵挮獳•敲㵬猢祴敬桳敥≴琠灹㵥琢硥⽴獣≳ാऊ⼼敨摡ാऊ戼摯⁹汣獡㵳椢潢祤㸢㰉㍨퀾킡킿톸킁킾₺臑苑냐苑뗐말⼼㍨ാऊ搼癩愠楬湧∽番瑳晩≹ാऊ㰉㹰飐뷐蓑뻐胑볐냐蛑룐近퀠₾臑苑냐苑賑近藑퀠톾톂톁톃톂톁킂톲킃통₂닐퀠킲톰킈킵₹鯐釐铐മऊ⼼楤㹶㰉戯摯㹹⼼瑨汭ാ�