Exemple #1
0
        private Expression JoinMethod(MethodCallExpression node)
        {
            WriteAppendAtFix(() =>
            {
                buildJoin = true;

                buildFrom = true;

                base.Visit(node.Arguments[0]);

                buildFrom = true;

                base.Visit(node.Arguments[1]);

                buildFrom = false;
            }, () =>
            {
                SQLWriter.Write(" ON ");

                buildFrom = false;

                base.Visit(node.Arguments[2]);

                SQLWriter.Equal();

                base.Visit(node.Arguments[3]);
            });

            return(node);
        }