When using Contains with Dynamic Linq on Linq-to-objects, the search is case sensitive. I would like to be able to search for case insensitivity (e.g. Linq-to-sql, because SQL Server does this by default).
Sort of:
this.someQuery = this.someQuery.Where(field + ".Contains(@0, true)", strValue);
where true means: caseinsensitive = true , like one of the extensions to System.String.Contains . Although I can not use extensions to System.String with dynamic Linq by default.
source share