override public SqlResults AnalyzeResults()
        {
            SqlResults RetValues = new SqlResults();

            foreach (SqlParameter Param in OutputParameters)
            {
                RetValues.Add(Param.ParameterName, Param.Value);
            }

            return(RetValues);
        }
Example #2
0
        public SqlResults Execute()
        {
            this.Build();

            ConnectionManager.OpenConnection();

            object QueryResults = OutputMode.Execute(StoredCommand);

            SqlResults RetValues = AnalyzeResults();

            if (QueryResults != null)
            {
                RetValues.Add("ReturnedValues", QueryResults);
            }

            return(RetValues);
        }