A specialized ETL process that copies data from one features class to another
Inheritance: FdoSpecializedEtlProcess
Exemplo n.º 1
0
        /// <summary>
        /// Initializes the process
        /// </summary>
        protected override void Initialize()
        {
            Reset();

            System.ComponentModel.CancelEventArgs ce = new System.ComponentModel.CancelEventArgs(false);
            this.BeforeExecute(this, ce);
            if (ce.Cancel)
            {
                SendMessage("Bulk Copy Cancelled");
                execute = false;
                return;
            }

            foreach (FdoClassCopyOptions copt in Options.ClassCopyOptions)
            {
                FdoClassToClassCopyProcess proc = new FdoClassToClassCopyProcess(copt);
                proc.ReportFrequency = this.ReportFrequency;
                subProcesses.Add(proc);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes the process
        /// </summary>
        protected override void Initialize()
        {
            Reset();
            
            System.ComponentModel.CancelEventArgs ce = new System.ComponentModel.CancelEventArgs(false);
            this.BeforeExecute(this, ce);
            if (ce.Cancel)
            {
                SendMessage("Bulk Copy Cancelled");
                execute = false;
                return;
            }

            foreach (FdoClassCopyOptions copt in Options.ClassCopyOptions)
            {
                FdoClassToClassCopyProcess proc = new FdoClassToClassCopyProcess(copt);
                proc.ReportFrequency = this.ReportFrequency;
                subProcesses.Add(proc);
            }
        }