mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Restoring BlogPart.Name
This commit is contained in:
@@ -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); }
|
||||
|
Reference in New Issue
Block a user