Table of Contents

Method Or

Namespace
Innova.Data
Assembly
Innova.Data.dll

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

Combines two predicate expressions using the logical OR operator.

public static Expression<Func<T, bool>> Or<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 OR of the two input expressions.

Type Parameters

T

The type of the parameter in the expressions.