Skip to content

Commit

Permalink
Implemented changes in example sample
Browse files Browse the repository at this point in the history
  • Loading branch information
janaks09 committed Jul 23, 2018
1 parent 471a950 commit 10c523f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@ public static IList<ExpressionInput> GetExpressionInputList()
{
new ExpressionInput
{
Operand = QueryOperand.And, //First Item does not matter And or OR
Operand = Operand.And, //First Item does not matter And or OR
Operation = Operation.Contains,
PropertyName = "Name",
Value = "Jack"
},
new ExpressionInput
{
Operand = QueryOperand.And,
Operand = Operand.And,
Operation = Operation.StringEquals, //Operation.Equals
PropertyName = "State",
Value = "FL"
},
new ExpressionInput
{
Operand = QueryOperand.Or,
Operand = Operand.Or,
Operation = Operation.NotEquals,
PropertyName = "CrimeRecord",
Value = false
},
new ExpressionInput
{
Operand = QueryOperand.And,
Operand = Operand.And,
Operation = Operation.GreaterThanOrEqual,
PropertyName = "AnnualIncome",
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.
Expand Down

0 comments on commit 10c523f

Please sign in to comment.