Ejemplo n.º 1
0
        public void ResetCommandTimeout()
        {
            OdbcCommand cmd = new OdbcCommand();

            cmd.CommandTimeout = 50;
            Assert.AreEqual(cmd.CommandTimeout, 50, "#1");
            cmd.ResetCommandTimeout();
            Assert.AreEqual(cmd.CommandTimeout, 30, "#2");
        }