예제 #1
0
        public void SqlClientDriver_NET_Core_2_0_works()
        {
            var driver = new CoreSqlClientDriver(TestContext.NetCore20DepsFile, TestContext.NugetPackageFolder);
            var cnn    = driver.CreateConnection($"Server=127.0.0.1;Database=master;User Id={_sqlServerFixture.DbUser};Password={_sqlServerFixture.DbPwd};");

            cnn.Open();

            Assert.True(cnn.State == ConnectionState.Open);
        }
예제 #2
0
        public void SqlClientDriver_works()
        {
            Thread.Sleep(60000);
            var driver = new CoreSqlClientDriver(TestContext.DriverResourcesDepsFile, TestContext.NugetPackageFolder);
            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);
        }