Interface IBooleanOperation
Defines the supported operation for addition of additional clauses in the fluent API
public interface IBooleanOperation : IOrdering, IQueryExecutor
- Inherited Members
- Extension Methods
Methods
And()
Sets the next operation to be AND
IQuery And()
Returns
And(Func<INestedQuery, INestedBooleanOperation>, BooleanOperation)
Adds the nested query
IBooleanOperation And(Func<INestedQuery, INestedBooleanOperation> inner, BooleanOperation defaultOp = BooleanOperation.And)
Parameters
inner
Func<INestedQuery, INestedBooleanOperation>defaultOp
BooleanOperation
Returns
AndNot(Func<INestedQuery, INestedBooleanOperation>, BooleanOperation)
Adds the nested query
IBooleanOperation AndNot(Func<INestedQuery, INestedBooleanOperation> inner, BooleanOperation defaultOp = BooleanOperation.And)
Parameters
inner
Func<INestedQuery, INestedBooleanOperation>defaultOp
BooleanOperation
Returns
Not()
Sets the next operation to be NOT
IQuery Not()
Returns
Or()
Sets the next operation to be OR
IQuery Or()
Returns
Or(Func<INestedQuery, INestedBooleanOperation>, BooleanOperation)
Adds the nested query
IBooleanOperation Or(Func<INestedQuery, INestedBooleanOperation> inner, BooleanOperation defaultOp = BooleanOperation.And)
Parameters
inner
Func<INestedQuery, INestedBooleanOperation>defaultOp
BooleanOperation