@@ -88,8 +88,8 @@ private static Expression BuildConditionExpression<TEntity>(DataContext db, IQue
8888 "notEmpty" => Expression . And ( Expression . NotEqual ( field , emptyValue ) , targetType . IsNullableType ( ) ? Expression . NotEqual ( field , Expression . Constant ( targetType . GetDefaultValue ( ) ) ) : Expression . Constant ( true ) ) ,
8989 "equals" => Expression . Equal ( field , searchValue ) ,
9090 "doesNotEqual" => Expression . NotEqual ( field , searchValue ) ,
91- "in" => BuildInExpression ( db , filter . SearchTree , field ) ,
92- "notIn" => Expression . Not ( BuildInExpression ( db , filter . SearchTree , field ) ) ,
91+ "inQuery" => BuildInExpression ( db , filter . SearchTree , field ) ,
92+ "notInQuery" => Expression . Not ( BuildInExpression ( db , filter . SearchTree , field ) ) ,
9393 "contains" => Expression . Call ( field , typeof ( string ) . GetMethod ( "Contains" , new [ ] { typeof ( string ) } ) ! , searchValue ) ,
9494 "doesNotContain" => Expression . Not ( Expression . Call ( field , typeof ( string ) . GetMethod ( "Contains" , new [ ] { typeof ( string ) } ) ! , searchValue ) ) ,
9595 "startsWith" => Expression . Call ( field , typeof ( string ) . GetMethod ( "StartsWith" , new [ ] { typeof ( string ) } ) ! , searchValue ) ,
0 commit comments