Beispiel #1
0
        /// <summary>
        /// Column name of which condition will be specified.
        /// </summary>
        /// <param name="column">Name of column</param>
        /// <returns>Clause instance object</returns>
        public ISumClause Where(String column)
        {
            where = new SumClauseImpl(this);
            where.AddCol(column);

            return(where);
        }
Beispiel #2
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 ISumClause Having(String column)
        {
            having = new SumClauseImpl(this);
            having.AddCol(column);

            return(having);
        }
Beispiel #3
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 ISumClause Having(String column)
        {

            having = new SumClauseImpl(this);
            having.AddCol(column);

            return having;
        }
Beispiel #4
0
        /// <summary>
        /// Column name of which condition will be specified.
        /// </summary>
        /// <param name="column">Name of column</param>
        /// <returns>Clause instance object</returns>
        public ISumClause Where(String column)
        {

            where = new SumClauseImpl(this);
            where.AddCol(column);

            return where;
        }