예제 #1
0
        public void OpenExportConnection(KeyedCollection <string, ConfigParameter> configParameters, Schema types, OpenExportConnectionRunStep exportRunStep)
        {
            // The schema types are required for serialization, so save them into a local variable for use in CloseExportConnection
            this.operationSchema = types;

            // Load the existing items from the queue. We want to add to this collection, rather than overwrite it as an import operation may not have been run yet
            CSEntryChangeQueue.LoadQueue(this.filename);

            // ... Export initialization code
        }
예제 #2
0
        public OpenImportConnectionResults OpenImportConnection(KeyedCollection <string, ConfigParameter> configParameters, Schema types, OpenImportConnectionRunStep importRunStep)
        {
            // The schema types are required for serialization, so save them into a local variable for use in CloseImportConnection
            this.operationSchema = types;

            this.importRunStepParameters = importRunStep;

            if (this.importRunStepParameters.ImportType == OperationType.Delta)
            {
                // Load the items from the queue
                CSEntryChangeQueue.LoadQueue(this.filename);
            }

            return(new OpenImportConnectionResults());
        }