Beispiel #1
0
        public long Count <T>(string sql = null, params object[] args)
        {
            var countSql = _sqlQueryBuilder.CountSql <T>(sql);

            return(Query <long>(countSql, args).FirstOrDefault());
        }