Ejemplo 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 ITotalClause Having(String column)
        {
            having = new TotalClauseImpl(this);
            having.AddCol(column);

            return(having);
        }
Ejemplo 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 ITotalClause Where(String column)
        {
            where = new TotalClauseImpl(this);
            where.AddCol(column);

            return(where);
        }
Ejemplo 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 ITotalClause Where(String column)
        {
            where = new TotalClauseImpl(this);
            where.AddCol(column);

            return where;
        }
Ejemplo 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 ITotalClause Having(String column)
        {
            having = new TotalClauseImpl(this);
            having.AddCol(column);

            return having;
        }