Refactor EntityContainer with (sort-of) proper repository

This commit is contained in:
Stephan
2015-11-20 13:39:42 +01:00
parent 3fe235fa35
commit 0f0b612de3
19 changed files with 600 additions and 311 deletions

View File

@@ -303,5 +303,13 @@ namespace Umbraco.Core.Persistence
CacheHelper.CreateDisabledCacheHelper(), //never cache
_logger, _sqlSyntax);
}
internal virtual EntityContainerRepository CreateEntityContainerRepository(IDatabaseUnitOfWork uow)
{
return new EntityContainerRepository(
uow,
_cacheHelper,
_logger, _sqlSyntax);
}
}
}