Commit ef5ff4f4 authored by VTHIEN's avatar VTHIEN

fixed

parent 609c844c
...@@ -427,7 +427,7 @@ namespace Sieve.Services ...@@ -427,7 +427,7 @@ namespace Sieve.Services
Expression filterValue = GetClosureOverConstant(constantVal, property.PropertyType); Expression filterValue = GetClosureOverConstant(constantVal, property.PropertyType);
//if (filterTerm.OperatorIsCaseInsensitive) /*if (filterTerm.OperatorIsCaseInsensitive)
{ {
propertyValue = Expression.Call(propertyValue, propertyValue = Expression.Call(propertyValue,
typeof(string).GetMethods() typeof(string).GetMethods()
...@@ -436,7 +436,7 @@ namespace Sieve.Services ...@@ -436,7 +436,7 @@ namespace Sieve.Services
filterValue = Expression.Call(filterValue, filterValue = Expression.Call(filterValue,
typeof(string).GetMethods() typeof(string).GetMethods()
.First(m => m.Name == "ToUpper" && m.GetParameters().Length == 0)); .First(m => m.Name == "ToUpper" && m.GetParameters().Length == 0));
} }*/
var expression = GetExpression(filterTerm, filterValue, propertyValue, bCaseSensitive); var expression = GetExpression(filterTerm, filterValue, propertyValue, bCaseSensitive);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment