From IScopeContext/Factory to IScopeContextAdapter

This commit is contained in:
Stephan
2016-05-03 17:55:06 +02:00
committed by Shannon
parent 5d72bcdc86
commit 0b1f12c823
20 changed files with 214 additions and 173 deletions

View File

@@ -23,7 +23,7 @@ namespace Umbraco.Core.DependencyInjection
container.Register<ISqlSyntaxProvider, SqlCeSyntaxProvider>("SqlCeSyntaxProvider");
container.Register<ISqlSyntaxProvider, SqlServerSyntaxProvider>("SqlServerSyntaxProvider");
container.RegisterSingleton<IScopeContextFactory, DefaultScopeContextFactory>();
container.RegisterSingleton<IScopeContextAdapter, DefaultScopeContextAdapter>();
// register database factory
// will be initialized with syntax providers and a logger, and will try to configure