Refining extension methods. Adding a streamlined content manager creation method.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041639
This commit is contained in:
loudej
2009-11-21 09:47:18 +00:00
parent 953c83fe78
commit 102f89ef63
28 changed files with 82 additions and 98 deletions

View File

@@ -1,7 +1,7 @@
using Orchard.Models;
namespace Orchard.Blogs.Models {
public class BlogPost : ContentPartForRecord<BlogPostRecord> {
public class BlogPost : ContentPart<BlogPostRecord> {
public string BlogSlug { get { return Record.Blog.Slug; } }
public string Title { get { return Record.Title; } }
public string Slug { get { return Record.Slug; } }