Deal with FIXMEs in persistence layer

This commit is contained in:
Stephan
2016-11-30 19:23:20 +01:00
parent 800b60ad68
commit fe3b28261f
22 changed files with 120 additions and 112 deletions

View File

@@ -2,6 +2,7 @@ using System;
using Umbraco.Core.Events;
using Umbraco.Core.Logging;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.Querying;
using Umbraco.Core.Persistence.UnitOfWork;
namespace Umbraco.Core.Services
@@ -24,5 +25,7 @@ namespace Umbraco.Core.Services
EventMessagesFactory = eventMessagesFactory;
UowProvider = provider;
}
protected IQuery<T> Query<T>() => UowProvider.DatabaseContext.Query<T>();
}
}