/*getConnectionString vieja. Se mantiene para referencia.*/
        public static string getConnectionString()
        {
            if (_connectionString == null)
            {
                Services.Utility oUtil = new Services.Utility();
                _connectionString = oUtil.Decrypt(dal.SqlServerLibrary.Properties.Settings.Default.CadenaConexion);
            }

            return _connectionString;
        }
        /*getConnectionString vieja. Se mantiene para referencia.*/
        public static string getConnectionString()
        {
            if (_connectionString == null)
            {
                Services.Utility oUtil = new Services.Utility();
                _connectionString = oUtil.Decrypt(dal.SqlServerLibrary.Properties.Settings.Default.CadenaConexion);
            }

            return(_connectionString);
        }
        public static bool setConnectionString(string cadenaConexion)
        {
            if (cadenaConexion == null || cadenaConexion == "")
            {
                return(false);
            }

            Services.Utility oUtil = new Services.Utility();
            _connectionString = oUtil.Decrypt(cadenaConexion);

            if (_connectionString == null)
            {
                return(false);
            }

            return(true);
        }
        public static bool setConnectionString(string cadenaConexion)
        {
            if (cadenaConexion == null || cadenaConexion == "")
                return false;

            Services.Utility oUtil = new Services.Utility();
            _connectionString = oUtil.Decrypt(cadenaConexion);

            if (_connectionString == null)
                return false;

            return true;
        }