Skip to content

Commit

Permalink
fix: odata contains expression
Browse files Browse the repository at this point in the history
  • Loading branch information
thygesteffensen committed Jan 29, 2021
1 parent 48d4b10 commit 32b29f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PAMU_CDS/Auxiliary/OdataFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ public override ConditionExpression ToCondition()
"startswith" => new ConditionExpression(_attribute, ConditionOperator.BeginsWith, _value),
"endswith" => new ConditionExpression(_attribute, ConditionOperator.EndsWith, _value),
"substringof" => new ConditionExpression(_attribute, ConditionOperator.Contains, _value),
_ => throw new NotImplementedException($"{_function} is not yet supported...")
"contains" => new ConditionExpression(_attribute, ConditionOperator.Contains,_value),
_ => throw new NotImplementedException($"{_function} is not yet supported in ODataFilter expression parser...")
};
}
}
Expand Down

0 comments on commit 32b29f4

Please sign in to comment.