public override void AddWhere(BinaryExpression exp, ExpressionInfo arg) { HelperTool.AddWhere(exp.Left, arg); arg.SetRelation(exp.NodeType.ToString()); HelperTool.AddWhere(exp.Right, arg); }
public override void AddWhere(MethodCallExpression exp, ExpressionInfo arg) { arg.SetRelation(exp.Method.Name); foreach (var argument in exp.Arguments) { HelperTool.AddWhere(argument, arg); } HelperTool.AddWhere(exp.Object, arg); }