Fixes up dictionary and language repositories to have underlying simple get repositories since they support getting by id, unique id and string variations but we want to have native repository enabled caching for these items so these get methods now use private repositories based on these keys. Adds more tests, removes N+1 queries for languages and dictionary items. Removes RuntimeCacheProvider, we only want one type of cache, this simplifies things a lot.

This commit is contained in:
Shannon
2015-01-13 13:25:36 +11:00
parent ef2c46b6ab
commit e3acdbe85b
76 changed files with 1264 additions and 778 deletions

View File

@@ -8,6 +8,7 @@ namespace Umbraco.Core.Persistence.SqlSyntax
/// <summary>
/// A resolver to return all ISqlSyntaxProvider objects
/// </summary>
[Obsolete("This should really not be used, instead ISqlSyntaxProvider should be ctor injected into any service that needs it")]
internal sealed class SqlSyntaxProvidersResolver : ManyObjectsResolverBase<SqlSyntaxProvidersResolver, ISqlSyntaxProvider>
{
/// <summary>