Exemplo n.º 1
0
 /// <summary>
 /// 获取行数Sql生成器 - 分组
 /// </summary>
 private ISqlBuilder GetCountBuilderByGroup(ISqlBuilder countBuilder)
 {
     countBuilder.ClearSelect();
     return(countBuilder.New().Count().From(countBuilder.AppendSelect("1 As c"), "t"));
 }