diff --git a/net/DevExtreme.AspNet.Data/FilterExpressionCompiler.cs b/net/DevExtreme.AspNet.Data/FilterExpressionCompiler.cs index b64a862c..e65f56c5 100644 --- a/net/DevExtreme.AspNet.Data/FilterExpressionCompiler.cs +++ b/net/DevExtreme.AspNet.Data/FilterExpressionCompiler.cs @@ -175,10 +175,9 @@ bool HasEqualityOperator(Type type) { } bool HasComparisonOperator(Type type) { -#if !NET4 if(type == typeof(Guid)) return false; -#endif + if(type.IsEnum) return false;