Exemplo n.º 1
0
        /// <summary>
        /// Used to specify HAVING clause to SQL because the WHERE keyword could not be used with aggregate functions.
        /// </summary>
        /// <param name="column">Name of column on which condition need to be applied</param>
        /// <returns>Clause instance object</returns>
        public ISelectClause Having(String column)
        {
            having = new SelectClauseImpl(this);
            having.AddCol(column);

            return(having);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Column name of which condition will be specified.
        /// </summary>
        /// <param name="column">Name of column</param>
        /// <returns>Clause instance object</returns>
        public ISelectClause Where(String column)
        {
            where = new SelectClauseImpl(this);
            where.AddCol(column);

            return(where);
        }
Exemplo n.º 3
0
        /// <summary>
        /// Column name of which condition will be specified.
        /// </summary>
        /// <param name="column">Name of column</param>
        /// <returns>Clause instance object</returns>
        public ISelectClause Where(String column)
        {
            where = new SelectClauseImpl(this);
            where.AddCol(column);

            return where;
        }
Exemplo n.º 4
0
        /// <summary>
        /// Used to specify HAVING clause to SQL because the WHERE keyword could not be used with aggregate functions.
        /// </summary>
        /// <param name="column">Name of column on which condition need to be applied</param>
        /// <returns>Clause instance object</returns>
        public ISelectClause Having(String column)
        {
            having = new SelectClauseImpl(this);
            having.AddCol(column);

            return having;
        }