Table of Contents

DapperGroupByTableQuery<TTable> 类

命名空间
Dapper.Shadow.GroupBy
程序集
Dapper.Shadow.dll

对Table进行分组查询

public class DapperGroupByTableQuery<TTable> : GroupByTableQuery<TTable>, IGroupByView, IDataQuery, IDataFilter, IDapperSource, ITableView, ISqlEntity where TTable : ITable

类型参数

TTable
继承
DapperGroupByTableQuery<TTable>
实现
继承成员
扩展方法

构造函数

DapperGroupByTableQuery(IExecutor, TTable, ISqlLogic, IField[], Logic)

对Table进行分组查询

public DapperGroupByTableQuery(IExecutor executor, TTable table, ISqlLogic where, IField[] fields, Logic having)

参数

executor IExecutor
table TTable
where ISqlLogic
fields IField[]
having Logic

属性

Executor

执行器

public IExecutor Executor { get; }

属性值

IExecutor

方法

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>