コード例 #1
0
        public void TestConnection_CanBeEstablished2()
        {
            SQLite3Query sqlite = new SQLite3Query();

            Assert.IsTrue(sqlite.TestConnection(connectionString, true, true));
            Assert.That(connectionString, Is.EqualTo(sqlite.ConnectionString));
            Assert.IsFalse(sqlite.IsConnectionIsActive);
            sqlite.Disconnect();
            Assert.IsFalse(sqlite.IsConnectionIsActive);
        }