コード例 #1
0
        public IEnumerable <IEnumerable <IEnumerable <KeyValuePair <string, object> > > > ExecuteFunction(string functionName, IDictionary <string, object> parameters)
        {
            var function            = _schema.FindFunction(functionName);
            var formattedParameters = new ValueFormatter().Format(parameters, "&");
            var commandText         = function.ActualName + "?" + formattedParameters;
            var command             = new HttpCommand(function.HttpMethod.ToUpper(), commandText.ToString());

            _requestBuilder.AddCommandToRequest(command);
            return(_requestRunner.ExecuteFunction(command));
        }