Exemple #1
0
        /// <summary>
        /// Begins a new SELECT [catalog].[owner].[table].* statment
        /// </summary>
        /// <param name="table">The name (or alias) of the table</param>
        /// <param name="owner">The schema owner of the table</param>
        /// <param name="catalog">The catalog or database of the table</param>
        /// <returns>A new DBSelectQuery to support statement chaining</returns>
        public static DBSelectQuery SelectAll(string catalog, string owner, string table)
        {
            DBSelectQuery q = new DBSelectQuery();

            q.SelectSet = DBSelectSet.SelectAll(catalog, owner, table);
            q.Last      = q.SelectSet;
            return(q);
        }
Exemple #2
0
        /// <summary>
        /// Begins a new SELECT [table].* statment
        /// </summary>
        /// <param name="table">The name (or alias) of the table</param>
        /// <returns>A new DBSelectQuery to support statement chaining</returns>
        public static DBSelectQuery SelectAll(string table)
        {
            DBSelectQuery q = new DBSelectQuery();

            q.SelectSet = DBSelectSet.SelectAll(table);
            q.Last      = q.SelectSet;
            return(q);
        }