Exemple #1
0
        public void UpdateComments()
        {
            BlogApp app = BlogApp.findById(this.AppId);

            if (app == null)
            {
                return;
            }
            app.CommentCount = OpenComment.count("AppId=" + this.AppId + " and TargetDataType='" + this.GetType().FullName + "'");
            app.update();
        }