Exemplo n.º 1
0
        public void SqlClientDriver_works()
        {
            var driver = new SqlClientDriver();
            var cnn    = driver.CreateConnection($"Server=127.0.0.1;Database=master;User Id={_fixture.MsSql.DbUser};Password={_fixture.MsSql.DbPwd};");

            cnn.Open();

            Assert.True(cnn.State == ConnectionState.Open);
        }
Exemplo n.º 2
0
        public void SqlClientDriver_works()
        {
            var driver = new SqlClientDriver();
            var cnn    = driver.CreateConnection($"Server=127.0.0.1;Database=master;User Id=sa;Password={TestContext.DbPassword};");

            cnn.Open();

            Assert.True(cnn.State == ConnectionState.Open);
        }