我正在使用动态linq并且正在尝试实现包含逻辑......我需要返回
Func<Expression, Expression, bool, MethodInfo, BinaryExpression>
等于
的示例代码private static Func<Expression, Expression, bool, MethodInfo, BinaryExpression> GetFuncForOperand(OperatorType operand)
{
case OperatorType.Equal:
func = Expression.Equal;
break;
case OperatorType.NotEqual:
func = Expression.NotEqual;
break;
case Operatortype.Like
// what should I do
}
我怎么表达包含?