public SelectStatementTest()
        {
            string connString = TestConstants.ServerPair + TestConstants.DatabasePair +
                                TestConstants.UsernamePair + TestConstants.PasswordPair;

            _dbConnection = new DbConnectionTest(connString);
            new Bootstrap(_dbConnection);
        }
Example #2
0
        public DeleteStatementTest()
        {
            string connString = TestConstants.ServerPair + TestConstants.DatabasePair +
                                TestConstants.UsernamePair + TestConstants.PasswordPair;

            _dbConnection = new DbConnectionTest(connString);

            if (_dbConnection == null)
            {
                throw new Exception("Could not acquire a database connection");
            }

            new Bootstrap(_dbConnection);
            _store = new EntityStore(_dbConnection);
        }