public static Expression <Func <T, bool> > Or <T>(this Expression <Func <T, bool> > first, Expression <Func <T, bool> > second) { return(first.Compose(second, Expression.OrElse)); }
public static Expression <Func <T, bool> > And <T>(this Expression <Func <T, bool> > expr1, Expression <Func <T, bool> > expr2) { return(expr1.Compose(expr2, Expression.And)); }
public static Expression <Func <T, bool> > And <T>(this Expression <Func <T, bool> > first, Expression <Func <T, bool> > second) { return(first.Compose(second, Expression.AndAlso)); }