Hi Thomas,
I am trying to use contains (equivalent to IN clouse in sql) to filter my data, I am using oracle as backend insted of Sql Server. See my code below:
string[] arrCode = new string[2];
arrCode[0] =
"AAA";
arrCode[1] =
"BBA";
var result = from c in scope.Secure<MtCurrency>()
where (c.CurrencyCode.Matches(searchText) || c.CurrencyDescription.Matches(searchText)) && arrCode.Contains(c.CurrencyCode.ToString())
select c;
When I test this code in WebOrb, I got error:
"Execution of 'System.Linq.Enumerable:Contains' on the database server side currently not implemented"
I am using Telerik OpenAccess ORM (version 08.13.2702) with visual studio 3.5 and oracle in backend.
Please suggest me where I am wrong ?
If I run this query without using contains then its working fine.
Regards,
Devanand Chahal
CPA Global