Completes: U4-6104 Remove SqlSyntaxContext - quite a large refactor and cleanup since the SqlSyntaxContext was used everywhere :( haven't run tests, etc... yet but the project builds now.
This commit is contained in:
@@ -247,7 +247,7 @@ namespace Umbraco.Tests.Persistence.Repositories
|
||||
{
|
||||
|
||||
// Act
|
||||
var query = Query<IDictionaryItem>.Builder.Where(x => x.ItemKey == "Article");
|
||||
var query = new Query<IDictionaryItem>(SqlSyntax).Where(x => x.ItemKey == "Article");
|
||||
var result = repository.GetByQuery(query);
|
||||
|
||||
// Assert
|
||||
@@ -268,7 +268,7 @@ namespace Umbraco.Tests.Persistence.Repositories
|
||||
{
|
||||
|
||||
// Act
|
||||
var query = Query<IDictionaryItem>.Builder.Where(x => x.ItemKey.StartsWith("Read"));
|
||||
var query = new Query<IDictionaryItem>(SqlSyntax).Where(x => x.ItemKey.StartsWith("Read"));
|
||||
var result = repository.Count(query);
|
||||
|
||||
// Assert
|
||||
|
||||
Reference in New Issue
Block a user