Пример #1
0
        /// <summary>
        /// Creates a return statement with value in this script
        /// </summary>
        /// <param name="clause"></param>
        /// <returns></returns>
        public DBStatement Return(DBClause clause)
        {
            DBReturn ret = DBReturn.Return(clause);

            this.Then(ret);
            return(ret);
        }
Пример #2
0
        /// <summary>
        /// Creates a return statement with the parameter in this script
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        public DBStatement Return(DBParam param)
        {
            DBReturn ret = DBReturn.Return(param);

            this.Then(ret);
            return(ret);
        }
Пример #3
0
        /// <summary>
        /// Creates a return statement in this script
        /// </summary>
        /// <returns></returns>
        public DBScript Return()
        {
            DBReturn ret = DBReturn.Return();

            this.Then(ret);
            return(this);
        }