/// <summary>
        /// Recupera la configuración de todos los procesos de negocio.
        /// </summary>
        /// <returns>Colección de configuraciones de procesos de negocio.</returns>
        /// <date>2006-02-10T00:00:00</date>
        /// <author>gmedina</author>
        public ProcessConfigurationCollection GetAllProcesses()
        {
            ProcessConfigurationCollection wResult;
            XmlDocument wDocument;

            try
            {
                wDocument = GetXMLProcessConfigurationDocument();
                wResult = new ProcessConfigurationCollection();

                foreach (XmlNode wNode in wDocument.DocumentElement.SelectSingleNode("Processes").SelectNodes("Process"))
                {
                    ProcessConfiguration wProcessConfiguration = new ProcessConfiguration();
                    wProcessConfiguration.Name = Convert.ToString(wNode.Attributes["Name"].InnerText);
                    wProcessConfiguration.Description = Convert.ToString(wNode.SelectSingleNode("Description").InnerText);
                    wProcessConfiguration.Handler = Convert.ToString(wNode.SelectSingleNode("Handler").InnerText);
                    wProcessConfiguration.Request = Convert.ToString(wNode.SelectSingleNode("Request").InnerText);
                    wProcessConfiguration.Response = Convert.ToString(wNode.SelectSingleNode("Response").InnerText);
                    wProcessConfiguration.Available = Convert.ToBoolean(wNode.SelectSingleNode("Available").InnerText);
                    wProcessConfiguration.Audit = Convert.ToBoolean(wNode.SelectSingleNode("Audit").InnerText);
                    wProcessConfiguration.ProcessTransactionalBehaviour = (TransactionalBehaviour)Enum.Parse(typeof(TransactionalBehaviour), wNode.SelectSingleNode("ProcessTransactionalBehaviour").InnerText);
                    wProcessConfiguration.ProcessIsolationLevel = (IsolationLevel)Enum.Parse(typeof(IsolationLevel), wNode.SelectSingleNode("ProcessIsolationLevel").InnerText);
                    wProcessConfiguration.Timeout = Convert.ToInt32(wNode.SelectSingleNode("Timeout").InnerText);

                    wResult.Add(wProcessConfiguration);
                }

                return wResult;
            }
            finally
            {
                wDocument = null;
            }
        }
        /// <summary>
        /// Recupera la configuración de todos los procesos de negocio.
        /// </summary>
        /// <returns>Lista de configuraciones de procesos de negocio.</returns>
        /// <date>2006-02-13T00:00:00</date>
        /// <author>gmedina</author>
        public ProcessConfigurationCollection GetAllProcesses()
        {
            Datablock.Database wBPConfig = Datablock.DatabaseFactory.CreateDatabase(_DatabaseConfigSection.ConnectionName);
            ProcessConfigurationCollection wProcessConfigurationCollection = new ProcessConfigurationCollection();

            using (System.Data.DataSet wProcessData = wBPConfig.ExecuteDataSet("Process_s_All"))
            {
                foreach (System.Data.DataRow wProcessRow in wProcessData.Tables[0].Rows)
                {
                    ProcessConfiguration wProcessConfiguration = GetProcessConfigurationFromRow(wProcessRow);
                    wProcessConfigurationCollection.Add(wProcessConfiguration);
                }

            }

            return wProcessConfigurationCollection;
        }