Esempio n. 1
0
        public static void LowerTransformations(AstEtlRootNode astDataflow, DataflowLoweringContext context)
        {
            var sortedTransformations = SortTransformations(astDataflow.Transformations);

            foreach (AstTransformationNode astTransformation in sortedTransformations)
            {
                PhysicalLoweringProcessor.Lower(astTransformation, context);
            }
        }
Esempio n. 2
0
        public static void LowerDataflow(AstNode astNode, LoweringContext context)
        {
            var astDataflow = astNode as AstEtlRootNode;

            if (astDataflow != null)
            {
                var dft = new DataflowTask(astDataflow);
                context.ParentObject.Children.Add(dft);

                var dflc = new DataflowLoweringContext(dft);
                LowerTransformations(astDataflow, dflc);
                ContainerLoweringEngine.LowerEventHandlers(astDataflow, dft, context);
            }
        }