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.
///