コード例 #1
0
        public override ResultMetaData GetResultMetaData()
        {
            if (this._resultMetaData != null)
            {
                return(this._resultMetaData);
            }
            if (base.type != 7)
            {
                throw Error.RuntimeError(0xc9, "StatementProcedure");
            }
            if (this._expression == null)
            {
                return(ResultMetaData.EmptyResultMetaData);
            }
            ResultMetaData data2 = ResultMetaData.NewResultMetaData(1);
            ColumnBase     base2 = new ColumnBase(null, null, null, StatementDMQL.ReturnColumnName);

            base2.SetType(this._expression.GetDataType());
            data2.columns[0] = base2;
            data2.PrepareData();
            this._resultMetaData = data2;
            return(data2);
        }