예제 #1
0
 public CsvFileProcessor(string[] files, ICsvToSqlInsertConverter csvToSqlInsertConverter,
                         ICsvTableFactory csvTableFactory)
 {
     _files = files;
     _csvToSqlInsertConverter = csvToSqlInsertConverter;
     _csvTableFactory = csvTableFactory;
 }
예제 #2
0
 public DataTransformer(string sqlScriptDirectory, string sourceDirectory, ILogger logger,
                        ICsvToSqlInsertConverter csvToSqlInsertConverter)
 {
     _sqlScriptDirectory = sqlScriptDirectory;
     _sourceDirectory = sourceDirectory;
     _logger = logger;
     _csvToSqlInsertConverter = csvToSqlInsertConverter;
 }