public void SetUp() { DatabaseProviderFactory factory = new DatabaseProviderFactory(OracleTestConfigurationSource.CreateConfigurationSource()); db = factory.Create("OracleTest"); DbCommand insertCommand = db.GetSqlStringCommand(insertString); DbCommand queryCommand = db.GetSqlStringCommand(queryString); baseFixture = new ExecuteReaderFixture(db, insertString, insertCommand, queryString, queryCommand); }
public void TestInitialize() { DatabaseProviderFactory factory = new DatabaseProviderFactory(TestConfigurationSource.CreateConfigurationSource()); db = factory.CreateDefault(); DbCommand insertCommand = db.GetSqlStringCommand(insertString); DbCommand queryCommand = db.GetSqlStringCommand(queryString); baseFixture = new ExecuteReaderFixture(db, insertString, insertCommand, queryString, queryCommand); }
public void TestInitialize() { testConnection = new TestConnectionString(); testConnection.CopyFile(); db = new SqlCeDatabase(testConnection.ConnectionString); DbCommand insertCommand = db.GetSqlStringCommand(insertString); queryCommand = db.GetSqlStringCommand(queryString); baseFixture = new ExecuteReaderFixture(db, insertString, insertCommand, queryString, queryCommand); }