Restoring BlogPart.Name

This commit is contained in:
Sebastien Ros 2013-12-04 18:47:36 -08:00
parent d33a44a473
commit cce4f1def7

View File

@ -1,7 +1,13 @@
using Orchard.ContentManagement;
using Orchard.ContentManagement.Aspects;
namespace Orchard.Blogs.Models {
public class BlogPart : ContentPart<BlogPartRecord> {
public string Name {
get { return this.As<ITitleAspect>().Title; }
}
public string Description {
get { return Retrieve(x => x.Description); }
set { Store(x => x.Description, value); }