예제 #1
0
        public QsiTableNode VisitJoinParenthesisTableReference(JoinParenthesisTableReference joinParenthesisTableReference)
        {
            return(TreeHelper.Create <QsiDerivedTableNode>(n =>
            {
                n.Columns.SetValue(TreeHelper.CreateAllColumnsDeclaration());
                n.Source.SetValue(VisitTableReference(joinParenthesisTableReference.Join));

                SqlServerTree.PutFragmentSpan(n, joinParenthesisTableReference);
            }));
        }
예제 #2
0
 public override void Visit(JoinParenthesisTableReference node) { this.action(node); }
 public override void ExplicitVisit(JoinParenthesisTableReference fragment)
 {
     _fragments.Add(fragment);
 }
예제 #4
0
 /// <summary>
 /// KzLib.SqlServer.TransactSql.ScriptDom.AddWhereBooleanExpressionVisitor をインスタンス化します。
 /// </summary>
 /// <param name="tableReference">追加するテーブル参照</param>
 public AddFromTableReferenceVisitor(JoinParenthesisTableReference tableReference)
 {
     FindTableReference = f => f.TableReferences[0];
     TableReference     = tableReference;
 }
예제 #5
0
 /// <summary>
 /// KzLib.SqlServer.TransactSql.ScriptDom.AddWhereBooleanExpressionVisitor をインスタンス化します。
 /// </summary>
 /// <param name="findBooleanExpression">FROM句のトップから、TableReference に到達するまでの式</param>
 /// <param name="tableReference">追加するテーブル参照</param>
 public AddFromTableReferenceVisitor(Expression <Func <Microsoft.SqlServer.TransactSql.ScriptDom.FromClause, TableReference> > findTableReference, JoinParenthesisTableReference tableReference)
 {
     FindTableReference = f => f.TableReferences[0];
     TableReference     = tableReference;
 }