You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2019/07/15 18:57:00 UTC
[jira] [Created] (IGNITE-11985) .NET: CompiledQuery.Compile does
not work with string parameters
Pavel Tupitsyn created IGNITE-11985:
---------------------------------------
Summary: .NET: CompiledQuery.Compile does not work with string parameters
Key: IGNITE-11985
URL: https://issues.apache.org/jira/browse/IGNITE-11985
Project: Ignite
Issue Type: Bug
Components: platforms
Reporter: Pavel Tupitsyn
Assignee: Pavel Tupitsyn
String parameters always produce an exception, example:
{code}
CompiledQuery.Compile((string empName) => persons.Where(x => x.Value.Name == empName))
{code}
Result:
{code}
System.InvalidOperationException: Error compiling query: entire LINQ expression should be specified within lambda passed to Compile method. Part of the query can't be outside the Compile method call.
{code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)