示例#1
0
        public TransactionTest(TransactionIntegrationTestSetup setup)
        {
            var connectionString = new ConnectionStringsForTest().GetConnectionString(setup.DatabaseName);

            _databaseConnection = new DatabaseConnection(connectionString);
        }
示例#2
0
        public TransactionIntegrationTestSetup()
        {
            var connectionString = new ConnectionStringsForTest().GetConnectionString("master");

            new DatabaseHelperFactory().GetDatabaseHelperForType(Database.Main, connectionString, DatabaseName).ResetDatabase();
        }