Пример #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 IMaxClause Where(String column)
        {
            where = new MaxClauseImpl(this);
            where.AddCol(column);

            return(where);
        }
Пример #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 IMaxClause Having(String column)
        {
            having = new MaxClauseImpl(this);
            having.AddCol(column);

            return(having);
        }
Пример #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 IMaxClause Where(String column)
        {
            where = new MaxClauseImpl(this);
            where.AddCol(column);

            return where;
        }
Пример #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 IMaxClause Having(String column)
        {
            having = new MaxClauseImpl(this);
            having.AddCol(column);

            return having;
        }