Example #1
0
        public void IrbisConnection_Clone_1()
        {
            IrbisConnection first = new IrbisConnection();

            first.ParseConnectionString(ConnectionString);

            IrbisConnection second = first.Clone(false);

            Assert.AreEqual(first.Host, second.Host);
            Assert.AreEqual(first.Port, second.Port);
            Assert.AreEqual(first.Username, second.Username);
            Assert.AreEqual(first.Password, second.Password);
            Assert.AreEqual(first.Database, second.Database);
            Assert.AreEqual(first.Workstation, second.Workstation);
        }