public static void SetParamDirection(IDbDataParameter parameter, ParameterDirection direction)
        {
            IDbDataParameter  param          = ADOAdaptersUtils.GetADOParameter(parameter);
            IExecutionService executionToUse = GetExecutionForKind(DBKind.Oracle);

            {
                Assembly oracleClient        = Assembly.Load("Oracle.ManagedDataAccess.Client");
                Type     oracleParameterType = oracleClient.GetType("Oracle.ManagedDataAccess.Client.OracleParameter");

                if (!oracleParameterType.IsInstanceOfType(param))
                {
                    executionToUse = GetExecutionForKind(DBKind.SqlServer);
                }
            }

            executionToUse.SetParameterDirection(param, direction);
        }