Refactor ISqlContext and SqlTemplates
This commit is contained in:
@@ -49,8 +49,8 @@ namespace Umbraco.Tests.TestHelpers
|
||||
Mappers = container.GetInstance<IMapperCollection>();
|
||||
|
||||
var pocoMappers = new NPoco.MapperCollection { new PocoMapper() };
|
||||
var pocoDataFactory = new FluentPocoDataFactory((type, iPocoDataFactory) => new PocoDataBuilder(type, pocoMappers).Init());
|
||||
SqlContext = new SqlContext(sqlSyntax, pocoDataFactory, DatabaseType.SQLCe, Mappers);
|
||||
var pocoDataFactory = new FluentPocoDataFactory((type, iPocoDataFactory) => new PocoDataBuilder(type, pocoMappers).Init());
|
||||
SqlContext = new SqlContext(sqlSyntax, DatabaseType.SQLCe, pocoDataFactory, Mappers);
|
||||
|
||||
SetUp();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user