private static ImportOracleDataCommand CreateImportOracleDataCommand() { var oracleDataImporter = new OracleImporterForSqlServer(); var oracleDbContext = new ProductsSystemOracleEntities(); var importOracleDataCommand = new ImportOracleDataCommand(oracleDbContext, oracleDataImporter); return(importOracleDataCommand); }
public ImportOracleDataCommand( ProductsSystemOracleEntities oracleDbContext, IOracleImporterForSqlServer oracleImporter) { this.oracleDbContext = oracleDbContext; this.oracleImporter = oracleImporter; }