public Result Read(IDataResults result) { var results = result.AsEnumerable <string>(); var firstResult = results.First(); var paramValue = result.GetOutputParameter <string>("value"); return(new Result { OutputParameterValue = paramValue, ResultSetValue = firstResult }); }
public string ReadOutputs(IDataResults result) { return(result.GetOutputParameter <string>("@param")); }