Re: Error compiling query: entire LINQ expression should bespecifiedwithin lambda passed to Compile method. Part of the query can't beoutsidethe Compile method call.

2019-07-30 Thread siva
Hi, when i tried with DateTime type using where clause, then also getting the following exception *Method not supported: System.DateTime.(Int32 CompareTo(System.DateTime)) * Please suggest if any other way to query with DateTime type. Thanks siva -- Sent from: http://apache-ignite-us

Re: Error compiling query: entire LINQ expression should bespecifiedwithin lambda passed to Compile method. Part of the query can't beoutsidethe Compile method call.

2019-07-30 Thread siva
Hi, when i tried with DateTime type using where clause, then also getting the following exception Method not supported: System.DateTime.(Int32 CompareTo(System.DateTime)) var compileQuery = CompiledQuery.Compile((DateTime tempDate) => cache1.Where(data => (data.Value.CreatedDateTime.Compare

Re: Error compiling query: entire LINQ expression should bespecifiedwithin lambda passed to Compile method. Part of the query can't beoutsidethe Compile method call.

2019-07-15 Thread Pavel Tupitsyn
n to treat String > class as a primitive one. > > Right now you can rewrite your query to “x.Contains(y)” or > “x.StartsWith(y)”, but it’s not the same as Equals. > > > > *From: *siva > *Sent: *Friday, July 12, 2019 9:36 PM > *To: *user@ignite.apache.org > *Subject: *R

RE: Error compiling query: entire LINQ expression should bespecifiedwithin lambda passed to Compile method. Part of the query can't beoutsidethe Compile method call.

2019-07-15 Thread Alexandr Shapkin
“x.StartsWith(y)”, but it’s not the same as Equals. From: siva Sent: Friday, July 12, 2019 9:36 PM To: user@ignite.apache.org Subject: RE: Error compiling query: entire LINQ expression should bespecifiedwithin lambda passed to Compile method. Part of the query can't beoutsidethe Compile method call