예제 #1
0
        private SqlCompilerOutputScope OpenScope(ContextType type, ContainerNode container)
        {
            traversalPath = null;
            var scope = new SqlCompilerOutputScope(this, Output, type);

            Output = container;
            return(scope);
        }
예제 #2
0
 internal void CloseScope(SqlCompilerOutputScope scope)
 {
     traversalPath = null;
     Output        = scope.ParentContainer;
     if (scope.Type == ContextType.Node)
     {
         traversalTable.Remove(traversalStack.Pop());
     }
 }