Class PredicateBuilder
Inheritance
PredicateBuilder
Assembly: Volo.Abp.Core.dll
Syntax
public static class PredicateBuilder
Methods
And<T>(Expression<Func<T, bool>>, Expression<Func<T, bool>>)
Declaration
public static Expression<Func<T, bool>> And<T>(this Expression<Func<T, bool>> expr1, Expression<Func<T, bool>> expr2)
Parameters
Returns
Type Parameters
Extend<T>(ExpressionStarter<T>, Expression<Func<T, bool>>, PredicateOperator)
Declaration
public static Expression<Func<T, bool>> Extend<T>(this ExpressionStarter<T> first, Expression<Func<T, bool>> second, PredicateOperator @operator = PredicateOperator.Or)
Parameters
Returns
Type Parameters
Extend<T>(Expression<Func<T, bool>>, Expression<Func<T, bool>>, PredicateOperator)
Declaration
public static Expression<Func<T, bool>> Extend<T>(this Expression<Func<T, bool>> first, Expression<Func<T, bool>> second, PredicateOperator @operator = PredicateOperator.Or)
Parameters
Returns
Type Parameters
New<T>(bool)
Declaration
public static ExpressionStarter<T> New<T>(bool defaultExpression)
Parameters
Type |
Name |
Description |
bool |
defaultExpression |
|
Returns
Type Parameters
New<T>(Expression<Func<T, bool>>?)
Declaration
public static ExpressionStarter<T> New<T>(Expression<Func<T, bool>>? expr = null)
Parameters
Returns
Type Parameters
Or<T>(Expression<Func<T, bool>>, Expression<Func<T, bool>>)
Declaration
public static Expression<Func<T, bool>> Or<T>(this Expression<Func<T, bool>> expr1, Expression<Func<T, bool>> expr2)
Parameters
Returns
Type Parameters