Persistence reorg, killed DatabaseContext

This commit is contained in:
Stephan
2016-12-16 17:56:10 +01:00
parent 49d54f497d
commit 7f39f7748f
69 changed files with 413 additions and 430 deletions

View File

@@ -5,6 +5,7 @@ using LightInject;
using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Logging;
using Umbraco.Core.Persistence;
using Umbraco.Core.Services;
using Umbraco.Web.Security;
using Umbraco.Web.WebApi;
@@ -41,7 +42,7 @@ namespace Umbraco.Web.Mvc
/// Gets or sets the database context.
/// </summary>
[Inject]
public DatabaseContext DatabaseContext { get; set; }
public IUmbracoDatabaseFactory DatabaseFactory { get; set; }
/// <summary>
/// Gets or sets the services context.