Changed required Database references to UmbracoDatabase
This commit is contained in:
@@ -7,6 +7,6 @@ namespace Umbraco.Core.Persistence.UnitOfWork
|
||||
/// </summary>
|
||||
public interface IDatabaseUnitOfWork : IUnitOfWork, IDisposable
|
||||
{
|
||||
Database Database { get; }
|
||||
UmbracoDatabase Database { get; }
|
||||
}
|
||||
}
|
||||
@@ -20,7 +20,7 @@ namespace Umbraco.Core.Persistence.UnitOfWork
|
||||
private readonly List<Operation> _operations = new List<Operation>();
|
||||
|
||||
|
||||
public PetaPocoUnitOfWork(Database database)
|
||||
public PetaPocoUnitOfWork(UmbracoDatabase database)
|
||||
{
|
||||
Database = database;
|
||||
_key = Guid.NewGuid();
|
||||
@@ -113,7 +113,7 @@ namespace Umbraco.Core.Persistence.UnitOfWork
|
||||
get { return _key; }
|
||||
}
|
||||
|
||||
public Database Database { get; private set; }
|
||||
public UmbracoDatabase Database { get; private set; }
|
||||
|
||||
#region Operation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user