File tree Expand file tree Collapse file tree
DynamicExpressionBuilder/Enums
Examples/ExpressionBuilderExample/Helpers Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change @@ -12,28 +12,28 @@ public static IList<ExpressionInput> GetExpressionInputList()
1212 {
1313 new ExpressionInput
1414 {
15- Operand = QueryOperand . And , //First Item does not matter And or OR
15+ Operand = Operand . And , //First Item does not matter And or OR
1616 Operation = Operation . Contains ,
1717 PropertyName = "Name" ,
1818 Value = "Jack"
1919 } ,
2020 new ExpressionInput
2121 {
22- Operand = QueryOperand . And ,
22+ Operand = Operand . And ,
2323 Operation = Operation . StringEquals , //Operation.Equals
2424 PropertyName = "State" ,
2525 Value = "FL"
2626 } ,
2727 new ExpressionInput
2828 {
29- Operand = QueryOperand . Or ,
29+ Operand = Operand . Or ,
3030 Operation = Operation . NotEquals ,
3131 PropertyName = "CrimeRecord" ,
3232 Value = false
3333 } ,
3434 new ExpressionInput
3535 {
36- Operand = QueryOperand . And ,
36+ Operand = Operand . And ,
3737 Operation = Operation . GreaterThanOrEqual ,
3838 PropertyName = "AnnualIncome" ,
3939 Value = ( double ) 500000 //Value need to be parsed to Expression's object (T) type. Here T is of Citizen type and AnnualIncome is of double type.
You can’t perform that action at this time.
0 commit comments