示例#1
0
 protected virtual List <CategoryCountItem> Query(string sql)
 {
     return(QueryProxy.QueryRows <CategoryCountItem>(sql,
                                                     x => new CategoryCountItem()
     {
         Category = GetCategory(x),
         Count = GetCount(x),
         Extent = GetExtent(x)
     }).ToList());
 }