skip to Main Content

Postgresql – Dynamically Build LINQ Expressions – ToLower and Contains at the same time

I struggle with adding ToLower() to the Contains LINQ Expressions: Here is the code of mine with dynamic LINQ Expressions (Contains): private static Expression GetExpressionCase<T>(ParameterExpression param, SearchCriteria searchCriteria) { MethodInfo containsMethod = typeof(string).GetMethod("Contains", new[] { typeof(string) }); MemberExpression member =…

VIEW QUESTION
Back To Top
Search