コード例 #1
0
        public override void AddWhere(BinaryExpression exp, ExpressionInfo arg)
        {
            HelperTool.AddWhere(exp.Left, arg);

            arg.SetRelation(exp.NodeType.ToString());

            HelperTool.AddWhere(exp.Right, arg);
        }
コード例 #2
0
 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);
 }