Method AndAlso
AndAlso<T>(Expression<Func<T, bool>>, Expression<Func<T, bool>>)
Combines two expressions using the logical AND operator.
public static Expression<Func<T, bool>> AndAlso<T>(this Expression<Func<T, bool>> expr1, Expression<Func<T, bool>> expr2)
Parameters
expr1
Expression<Func<T, bool>>The first expression.
expr2
Expression<Func<T, bool>>The second expression.
Returns
- Expression<Func<T, bool>>
The combined expression.
Type Parameters
T
The type of the parameter in the expressions.