Refactoring entities with Users to only add Id to minimize the object graph.

Moved getting an IProfile to an extension method, as its not commonly used.
Removing dependencies in ContentService, so the Services and context can be moved to Core proj.
Implementing Template repository to use both filesystem and db.
This commit is contained in:
Morten Christensen
2012-11-11 06:53:02 -01:00
parent e832da5bfc
commit dffc6ca1a0
50 changed files with 676 additions and 337 deletions

View File

@@ -35,9 +35,9 @@ namespace Umbraco.Core.Models
DateTime? ExpireDate { get; set; }
/// <summary>
/// Profile of the user who wrote the Content
/// Id of the user who wrote/updated the Content
/// </summary>
IProfile Writer { get; set; }
int WriterId { get; set; }
/// <summary>
/// Gets the ContentType used by this content object