DapperGroupByTableQuery<TTable> 类
对Table进行分组查询
public class DapperGroupByTableQuery<TTable> : GroupByTableQuery<TTable>, IGroupByView, IDataQuery, IDataFilter, IDapperSource, ITableView, ISqlEntity where TTable : ITable
类型参数
TTable
- 继承
-
GroupByQueryBase<TTable>GroupByTableQuery<TTable>DapperGroupByTableQuery<TTable>
- 实现
- 继承成员
- 扩展方法
构造函数
DapperGroupByTableQuery(IExecutor, TTable, ISqlLogic, IField[], Logic)
对Table进行分组查询
public DapperGroupByTableQuery(IExecutor executor, TTable table, ISqlLogic where, IField[] fields, Logic having)
参数
属性
Executor
执行器
public IExecutor Executor { get; }
属性值
方法
Apply(Func<TTable, IAggregateField>, Func<Logic, IAggregateField, Logic>)
按逻辑查询
public GroupByTableQuery<TTable> Apply(Func<TTable, IAggregateField> aggregate, Func<Logic, IAggregateField, Logic> query)
参数
aggregate
Func<TTable, IAggregateField>query
Func<Logic, IAggregateField, Logic>
返回
- GroupByTableQuery<TTable>