Interface IGroupByBuilder
- Assembly
- Dapper.SimpleSqlBuilder.dll
An interface that defines the group by builder type.
public interface IGroupByBuilder : IHavingBuilder, IOrderByBuilderEntry, IFluentSqlBuilder, ISqlBuilder, IFluentBuilderImplements
Methods
GroupBy(ref GroupByInterpolatedStringHandler)
Appends the GROUP BY clause and the interpolated string to the builder.
IGroupByBuilder GroupBy(ref GroupByInterpolatedStringHandler handler)Parameters
handlerGroupByInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IGroupByBuilder
-
The IGroupByBuilder instance.
GroupBy(bool, ref GroupByInterpolatedStringHandler)
Appends the GROUP BY clause and the interpolated string to the builder.
IGroupByBuilder GroupBy(bool condition, ref GroupByInterpolatedStringHandler handler)Parameters
conditionbool-
The value to determine whether the method should be executed.
handlerGroupByInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IGroupByBuilder
-
The IGroupByBuilder instance.