コード例 #1
0
            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
                });
            }
コード例 #2
0
 public string ReadOutputs(IDataResults result)
 {
     return(result.GetOutputParameter <string>("@param"));
 }