Exemple #1
0
        //--------------------------------------------------------------------------------


        public virtual int CountReply(int topicId)
        {
            return(ForumPost.find("TopicId=" + topicId + " and Status<>" + TopicStatus.Delete).count() - 1);
        }
Exemple #2
0
 public virtual List <ForumPost> GetRecentByApp(int appId, int count)
 {
     return(ForumPost.find("AppId=" + appId + " and " + getNonDelCondition()).list(count));
 }
Exemple #3
0
 public virtual List <ForumPost> GetRecentByApp(int appId, int count)
 {
     return(ForumPost.find("AppId=" + appId + " and " + TopicStatus.GetShowCondition()).list(count));
 }