/// <summary>
        /// 构造函数
        /// </summary>
        public SqlServerDatabaseTraceListener(LogConfigurationElement element)
        {
            if (element.ExtendedAttributes.TryGetValue("ConnName", out logDbConnName) == false)
                logDbConnName = DEFAULT_DB_CONN_NAME;

            if (element.ExtendedAttributes.TryGetValue("TableName", out logTableName) == false)
                logTableName = DEFAULT_DB_TABLE_NAME;
        }
        public void LogConfigurationElementConstructorTest()
        {
            string logName                 = string.Empty; // TODO: Initialize to an appropriate value
            string factoryName             = string.Empty; // TODO: Initialize to an appropriate value
            LogConfigurationElement target = new LogConfigurationElement(logName, factoryName);

            Assert.Inconclusive("TODO: Implement code to verify target");
        }
        public void FactoryNameTest()
        {
            LogConfigurationElement target = new LogConfigurationElement(); // TODO: Initialize to an appropriate value
            string expected = string.Empty;                                 // TODO: Initialize to an appropriate value
            string actual;

            target.FactoryName = expected;
            actual             = target.FactoryName;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        public void LogConfigurationElementConstructorTest1()
        {
            LogConfigurationElement target = new LogConfigurationElement();

            Assert.Inconclusive("TODO: Implement code to verify target");
        }