From 72bc3f8306dbcb5da476c19e887318bd446210c0 Mon Sep 17 00:00:00 2001 From: nikolajlauridsen Date: Mon, 4 Nov 2024 12:54:52 +0100 Subject: [PATCH] Fix merge error --- .../Persistence/NPocoSqlExtensions.cs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/Umbraco.Infrastructure/Persistence/NPocoSqlExtensions.cs b/src/Umbraco.Infrastructure/Persistence/NPocoSqlExtensions.cs index 55f98f58e5..8206570061 100644 --- a/src/Umbraco.Infrastructure/Persistence/NPocoSqlExtensions.cs +++ b/src/Umbraco.Infrastructure/Persistence/NPocoSqlExtensions.cs @@ -63,24 +63,6 @@ namespace Umbraco.Extensions return sql.Where(s, a); } - /// - /// Appends a WHERE clause to the Sql statement. - /// - /// The type of Dto 1. - /// The type of Dto 2. - /// The type of Dto 3. - /// The Sql statement. - /// A predicate to transform and append to the Sql statement. - /// An optional alias for Dto 1 table. - /// An optional alias for Dto 2 table. - /// An optional alias for Dto 3 table. - /// The Sql statement. - public static Sql Where(this Sql sql, Expression> predicate, string? alias1 = null, string? alias2 = null, string? alias3 = null) - { - var (s, a) = sql.SqlContext.VisitDto(predicate, alias1, alias2, alias3); - return sql.Where(s, a); - } - /// /// Appends a WHERE IN clause to the Sql statement. ///