// 2018/04/20追加
 public sealed override void VisitBefore(AliasedQuery aliasedQuery)
 {
     if (aliasedQuery.GetType() != typeof(MergeStmt))
     {
         // FROM句のAliasedQueryの場合
         _subQueryStack.Push(SubQueryType.From);
     }
 }
        public sealed override void VisitAfter(AliasedQuery aliasedQuery)
        {
            if (aliasedQuery.GetType() != typeof(MergeStmt))
            {
                // FROM句のAliasedQueryの場合
                _subQueryStack.Pop();
            }

            if (this.IsNotInMainResultsSource())
            {
                return;
            }
            foreach (var resultInfo in _stack.Peek())
            {
                resultInfo.TableAliasName = aliasedQuery.AliasName ?? "";
            }
        }
Esempio n. 3
0
 virtual public void VisitAfter(AliasedQuery aliasedQuery)
 {
 }
Esempio n. 4
0
 virtual public void VisitBefore(AliasedQuery aliasedQuery)
 {
 }
 public override void VisitAfter(AliasedQuery aliasedQuery)
 {
 }
 public void VisitAfter(AliasedQuery aliasedQuery)
 {
     _visitor.VisitAfter(aliasedQuery);
 }
 public void VisitBefore(AliasedQuery aliasedQuery)
 {
     _visitor.VisitBefore(aliasedQuery);
 }