/// <summary>
        /// Deserialize a Dao object
        /// </summary>
        /// <param name="node"></param>
        /// <param name="configScope"></param>
        /// <returns></returns>
        public static DaoSessionHandler Deserialize(XmlNode node, ConfigurationScope configScope)
        {
            DaoSessionHandler daoSessionHandler = new DaoSessionHandler();

            NameValueCollection prop = NodeUtils.ParseAttributes(node, configScope.Properties);
            daoSessionHandler.Implementation = NodeUtils.GetStringAttribute(prop, "implementation");
            daoSessionHandler.Name = NodeUtils.GetStringAttribute(prop, "id");
            daoSessionHandler.IsDefault = NodeUtils.GetBooleanAttribute(prop, "default", false);

            return daoSessionHandler;
        }
        /// <summary>
        /// Deserialize a Dao object
        /// </summary>
        /// <param name="node"></param>
        /// <param name="configScope"></param>
        /// <returns></returns>
        public static DaoSessionHandler Deserialize(XmlNode node, ConfigurationScope configScope)
        {
            DaoSessionHandler daoSessionHandler = new DaoSessionHandler();

            NameValueCollection prop = NodeUtils.ParseAttributes(node, configScope.Properties);

            daoSessionHandler.Implementation = NodeUtils.GetStringAttribute(prop, "implementation");
            daoSessionHandler.Name           = NodeUtils.GetStringAttribute(prop, "id");
            daoSessionHandler.IsDefault      = NodeUtils.GetBooleanAttribute(prop, "default", false);

            return(daoSessionHandler);
        }