/// <summary> /// 取得数据总数量 /// </summary> /// <returns></returns> public async Task <int> CountAsync(bool setSql = true) { var rst = await QuerySet.CountAsync(); if (setSql) { DoSetSql(); } return(rst); }