public void Verify_ConnectionString()
        {
            var conn = da.GetConnnection();

            Assert.IsTrue(conn.ConnectionString.Contains("sysdba"));
            Assert.IsTrue(conn.ConnectionString.Contains("masterkey"));
            Assert.IsTrue(conn.ConnectionString.Contains("UnitTest"));
        }
Exemplo n.º 2
0
        public static void ReloadTableNames()
        {
            if (CurrentSiteId != 0)
            {
                FBDataAccess fba    = new FBDataAccess();
                var          dbConn = fba.GetConnnection();

                FbConnectionString = dbConn.ConnectionString;
                FirebirdTableNames = fba.GetTableNames();
            }
            else
            {
                FirebirdTableNames.Clear();
            }
        }