Table of Contents

Method And

Namespace
Innova.Data
Assembly
Innova.Data.dll

And<T>(Expression<Func<T, bool>>, Expression<Func<T, bool>>)

Combines two predicate expressions using the logical AND operator.

public static Expression<Func<T, bool>> And<T>(this Expression<Func<T, bool>> expr1, Expression<Func<T, bool>> expr2)

Parameters

expr1 Expression<Func<T, bool>>

The first predicate expression.

expr2 Expression<Func<T, bool>>

The second predicate expression.

Returns

Expression<Func<T, bool>>

A new predicate expression that represents the logical AND of the two input expressions.

Type Parameters

T

The type of the parameter in the expressions.