public void Setup()
        {
            Env.Load();

            _logger = LogManager.GetCurrentClassLogger();

            _config = SmartBulkCopyConfiguration.LoadFromConfigFile("smartbulkcopy.config.test.json", _logger);
        }
Exemple #2
0
        public void Setup()
        {
            Env.Load();

            _logger = LogManager.GetCurrentClassLogger();

            _config = SmartBulkCopyConfiguration.EmptyConfiguration;
            _config.SourceConnectionString      = Environment.GetEnvironmentVariable("source-connection-string");
            _config.DestinationConnectionString = Environment.GetEnvironmentVariable("destination-connection-string");
            _config.LogicalPartitioningStrategy = LogicalPartitioningStrategy.Auto;
            //_config.LogicalPartitions = 7;
        }