コード例 #1
0
ファイル: DBQuery.cs プロジェクト: jschmer/dynasql
        /// <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);
        }
コード例 #2
0
        //
        // instance methods
        //

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