mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-23 21:32:14 +08:00
BlogPostCount per blog is now recomputed from the list published blog whenever there is a change in any posts of the blog. This is more deterministic than trying to keep incrementing/decrementing when the changes happen. --HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045749
9 lines
279 B
C#
9 lines
279 B
C#
using Orchard.Data.Conventions;
|
|
using Orchard.ContentManagement.Records;
|
|
|
|
namespace Orchard.Blogs.Models {
|
|
public class BlogRecord : ContentPartRecord {
|
|
public virtual string Description { get; set; }
|
|
public virtual int PostCount { get; set; }
|
|
}
|
|
} |