public void TestDaxConnectionDispose() { using (var connection = new DaxConnection(GetConnectionString())) { connection.Open(); } }
public void TestDaxConnectionOpenClose() { var connection = new DaxConnection(GetConnectionString()); connection.Open(); connection.Close(); }
public void TestDaxConnectionOpenClose() { var connection = new DaxConnection(GetConnectionString()); connection.Open(); connection.Close(); }
public void TestDaxConnectionDispose() { using (var connection = new DaxConnection(GetConnectionString())) { connection.Open(); } }
public void TestDaxConnectionCreateCommand() { using (var connection = new DaxConnection(GetConnectionString())) { var cmd = connection.CreateCommand(); Assert.AreEqual(typeof(DaxCommand), cmd.GetType()); Assert.AreEqual(connection, cmd.Connection); } }
public void TestDaxConnectionCreateCommand() { using (var connection = new DaxConnection(GetConnectionString())) { var cmd = connection.CreateCommand(); Assert.AreEqual(typeof(DaxCommand), cmd.GetType()); Assert.AreEqual(connection, cmd.Connection); } }