public static OracleParameter[] GetSpParameterSet(string connectionString, string spName, bool includeReturnValueParameter)
        {
            string hashKey = connectionString + ":" + spName + (includeReturnValueParameter ? ":include ReturnValue Parameter" : "");

            OracleParameter[] cachedParameters = (OracleParameter[])OracleDataAccessParameterCache.paramCache[hashKey];
            if (cachedParameters == null)
            {
                cachedParameters = (OracleParameter[])(OracleDataAccessParameterCache.paramCache[hashKey] = OracleDataAccessParameterCache.DiscoverSpParameterSet(connectionString, spName, includeReturnValueParameter));
            }
            return(OracleDataAccessParameterCache.CloneParameters(cachedParameters));
        }
        public static OracleParameter[] GetCachedParameterSet(string connectionString, string commandText)
        {
            string hashKey = connectionString + ":" + commandText;

            OracleParameter[] cachedParameters = (OracleParameter[])OracleDataAccessParameterCache.paramCache[hashKey];
            if (cachedParameters == null)
            {
                return(null);
            }
            return(OracleDataAccessParameterCache.CloneParameters(cachedParameters));
        }