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