mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Restoring BlogPart.Name
This commit is contained in:
parent
d33a44a473
commit
cce4f1def7
@ -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); }
|
||||
|
Loading…
Reference in New Issue
Block a user