Ejemplo n.º 1
0
        /// <summary>
        /// Creates a new DBField reference to all fields (*) in specified table - do not enclose in delimiters
        /// </summary>
        /// <param name="table">The table (or table alias) the fields belong to</param>
        /// <returns></returns>
        public static DBField AllFields(string table)
        {
            DBFieldAllRef all = new DBFieldAllRef();

            all.Table = table;
            return(all);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Creates a new DBField reference to all fields (*) with the specified owner.table - do not enclose in delimiters
        /// </summary>
        /// <param name="table">The table (or table alias) the fields belong to</param>
        /// <param name="owner">The schema owner</param>
        /// <param name="catalog">The catalog / database for all fields table</param>
        /// <returns></returns>
        public static DBField AllFields(string catalog, string owner, string table)
        {
            DBFieldAllRef all = new DBFieldAllRef();

            all.Table   = table;
            all.Owner   = owner;
            all.Catalog = catalog;
            return(all);
        }
Ejemplo n.º 3
0
        public static DBSelectSet SelectAll()
        {
            DBSelectSet   set  = new DBSelectSet();
            DBFieldAllRef fref = new DBFieldAllRef();

            set.Results.Add(fref);
            set.Last = fref;

            return(set);
        }
Ejemplo n.º 4
0
        public static DBSelectSet SelectAll(string table)
        {
            DBSelectSet   set  = new DBSelectSet();
            DBFieldAllRef fref = new DBFieldAllRef();

            fref.Table = table;
            set.Results.Add(fref);
            set.Last = fref;

            return(set);
        }
Ejemplo n.º 5
0
        /// <summary>
        /// Creates a new DBField reference to all fields
        /// </summary>
        /// <returns></returns>
        public static DBField AllFields()
        {
            DBFieldAllRef all = new DBFieldAllRef();

            return(all);
        }