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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user