public override void Setup() { DbContext = DbContextFactory.CreateOracleContext(ConnectionStrings.GetOracle()); TableName = "htablefromxml"; base.Setup(); DbSchema.DropTable(TableName); }
public override void Setup() { ConversionFileForRead = "Resources/Unit4OracleReaderConversions.xml"; ConversionFileForWrite = "Resources/Unit4OracleWriterConversions.xml"; DbContext = DbContextFactory.CreateOracleContext(ConnectionStrings.GetOracle()); base.Setup(); }
public override void Setup() { DbContext = DbContextFactory.CreateOracleContext(ConnectionStrings.GetOracle()); DbSchema = DbContext.PowerPlant.CreateDbSchema(); Commands = DbContext.PowerPlant.CreateCommands(); ConversionFileForRead = "Resources/Unit4OracleReaderConversions.xml"; ConversionFileForWrite = "Resources/Unit4OracleWriterConversions.xml"; DbSchema.DropTable(TestTable); DeleteFiles(); }
public override void Setup() { DbContext = DbContextFactory.CreateOracleContext(ConnectionStrings.GetOracle()); _oraTableCreator = new OraTableCreator(DbContext); TableName = _oraTableCreator.TableName; _writer = AWriterFactory.CreateInstance(DbContext); _writer.Directory = ".\\"; _reader = AReaderFactory.CreateInstance(DbContext); _reader.Directory = ".\\"; _schemaFileName = $@".\{TableName}.{_writer.SchemaFileSuffix}"; _dataFileName = $@".\{TableName}.{_writer.DataFileSuffix}"; _blobFileName = $@".\{TableName}\i000000000000000.raw"; base.Setup(); }
public override void Setup() { DbContext = DbContextFactory.CreateOracleContext(ConnectionStrings.GetOracle()); base.Setup(); }
public void Setup() { _msContext = DbContextFactory.CreateSqlServerContext(_connectionStrings.GetSqlServer()); _oraContext = DbContextFactory.CreateOracleContext(_connectionStrings.GetOracle()); _testTable = "htestdatabase"; }