Fix merge error
This commit is contained in:
@@ -63,24 +63,6 @@ namespace Umbraco.Extensions
|
||||
return sql.Where(s, a);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Appends a WHERE clause to the Sql statement.
|
||||
/// </summary>
|
||||
/// <typeparam name="TDto1">The type of Dto 1.</typeparam>
|
||||
/// <typeparam name="TDto2">The type of Dto 2.</typeparam>
|
||||
/// <typeparam name="TDto3">The type of Dto 3.</typeparam>
|
||||
/// <param name="sql">The Sql statement.</param>
|
||||
/// <param name="predicate">A predicate to transform and append to the Sql statement.</param>
|
||||
/// <param name="alias1">An optional alias for Dto 1 table.</param>
|
||||
/// <param name="alias2">An optional alias for Dto 2 table.</param>
|
||||
/// <param name="alias3">An optional alias for Dto 3 table.</param>
|
||||
/// <returns>The Sql statement.</returns>
|
||||
public static Sql<ISqlContext> Where<TDto1, TDto2, TDto3>(this Sql<ISqlContext> sql, Expression<Func<TDto1, TDto2, TDto3, bool>> 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);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Appends a WHERE IN clause to the Sql statement.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user