Exemplo n.º 1
0
        /// <summary>
        /// Starts a new script where multiple statements can be executed within the same command
        /// and sets the first statement to the specified query
        /// </summary>
        /// <param name="query">The first statement in the script</param>
        /// <returns>A new DBScript for statement chaining</returns>
        public static DBScript Begin(DBStatement query)
        {
            DBScript s = Begin();

            s.Then(query);
            return(s);
        }
Exemplo n.º 2
0
        //
        // instance methods
        //

        public DBCreateViewQuery As(DBStatement select)
        {
            this.Select = select;
            return(this);
        }