Persistence reorg, killed DatabaseContext
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user