示例#1
0
 public static int GetPostsByTagCount(this IPostDao pDao, string tag)
 {
     return(pDao.GetCount(null, null, null, tag));
 }
示例#2
0
 public static int GetAllPostsCount(this IPostDao pDao)
 {
     return(pDao.GetCount(null, null, null, null));
 }
示例#3
0
 public static int GetUserPostsCount(this IPostDao pDao, Guid userId, string tag)
 {
     return(pDao.GetCount(null, null, userId, tag));
 }