Hi,
how can I achieve a following query:
where "content".to_lowercase("value") like "content".to_lowercase('%RAMbo%')
"content".to_lowercase is a custom db function
"value" is a column name
I've tried to create a following Expression:
new EntityField2("dbValueCaseInsensitive", new DbFunctionCall("\"content\".to_lowercase", new object[] { FieldFields.Value }))
%
new EntityField2("searchedValueCaseInsensitive", new DbFunctionCall("\"content\".to_lowercase", new object[] { fieldValue }))
but compiler says that I Cannot use % operator on two EntityFields2 objects.
Best Regards,
MiloszeS