public static int SelectArticle(int blogId) { int count = PostgreHelper.GetCount(PostGreSqlConnectionString, "article", "source_art_id=" + blogId); return count; }
public static int SelectComment(long articleId) { int count = PostgreHelper.GetCount(PostGreSqlConnectionString, "article_comment", "article_id=" + articleId); return(count); }