Class BooleanExpression
A boolean expression.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Redis.OM.Common
Assembly: Redis.OM.dll
Syntax
public abstract class BooleanExpression
Properties
| Improve this Doc View SourceExpression
Gets or sets the Lambda expression.
Declaration
protected LambdaExpression Expression { get; set; }
Property Value
Type | Description |
---|---|
System.Linq.Expressions.LambdaExpression |
Methods
| Improve this Doc View SourceSplitBinaryExpression(BinaryExpression, Stack<String>)
Splits the binary expression into a usable query.
Declaration
protected abstract void SplitBinaryExpression(BinaryExpression expression, Stack<string> stack)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.BinaryExpression | expression | the expression. |
System.Collections.Generic.Stack<System.String> | stack | the operand stack. |
SplitExpression()
splits the expression recursively.
Declaration
protected Stack<string> SplitExpression()
Returns
Type | Description |
---|---|
System.Collections.Generic.Stack<System.String> | a stack of predicate strings. |
ValidateAndPushOperand(Expression, Stack<String>)
Validates an operand and pushes it onto the stack.
Declaration
protected abstract void ValidateAndPushOperand(Expression expression, Stack<string> stack)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression | expression | the expression. |
System.Collections.Generic.Stack<System.String> | stack | the stack. |