Initial implementation of the EntityRepository and Service, which will be used to retrieve a basic object with a minimum set of propreties for the models that have their base in the umbracoNode table.

The intention is to use this for loading trees in the backoffice for faster loading.
This commit is contained in:
Morten Christensen
2013-03-17 16:25:21 -01:00
parent 07bdd138cc
commit 381157ac5d
11 changed files with 658 additions and 0 deletions

View File

@@ -32,6 +32,11 @@ namespace Umbraco.Core.Persistence
CreateUserTypeRepository(uow));
}
internal virtual IEntityRepository CreateEntityRepository(IDatabaseUnitOfWork uow)
{
return new EntityRepository(uow);
}
public virtual IContentRepository CreateContentRepository(IDatabaseUnitOfWork uow)
{
return new ContentRepository(