public long Count <T>(string sql = null, params object[] args) { var countSql = _sqlQueryBuilder.CountSql <T>(sql); return(Query <long>(countSql, args).FirstOrDefault()); }
public long Count <T>(string sql = null, params object[] args) { var countSql = _sqlQueryBuilder.CountSql <T>(sql); return(Query <long>(countSql, args).FirstOrDefault()); }