Ejemplo n.º 1
0
        //
        // static factory methods
        //

        #region internal static DBSubQuery SubSelect(DBQuery inner)

        /// <summary>
        /// Defines a new SubSelect with an inner query
        /// </summary>
        /// <param name="inner"></param>
        /// <returns></returns>
        internal static DBSubQuery SubSelect(DBQuery inner)
        {
            DBSubQueryRef sub = new DBSubQueryRef();

            sub.InnerQuery     = inner;
            inner.IsInnerQuery = true;
            return(sub);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Defines a new empty sub select
        /// </summary>
        /// <returns></returns>
        internal static DBSubQuery SubSelect()
        {
            DBSubQueryRef subref = new DBSubQueryRef();

            return(subref);
        }