| UnresolvedFilterExpression Constructor (String, ExpInnerOperator, String, String) |
Constructs an UNRESOLVED expression with a property, operator and value.
The constructor is used when the filter value is a supposed to be a string (like when the filter is for a value property w. datatype text).
It can, however, also be used when the property/fixedfield expects something that is not a string.
In the latter case the UnresolvedFilterExpressionHandler attempts to convert it to a proper data type.
Examples: "If property/fixedfield expects a xyz : then we allow this format":
- string : "some string"
- datetime : xml datetime format (check the XmlConvert class)
- bool : ["true", "false"]
- int : "12345"
- IEnumerable[int] : "123,456,789"
- Guid : "B8C6F2D1-079E-4039-A5B1-369F423AE4C8"
- IEnumerable[Guid] : "B8C6F2D1-079E-4039-A5B1-369F423AE4C8,56079274-BFB5-421E-A72E-E63597B72CD6"
- IEnumerable[string]: """setpropvalue a"",""setpropvalue b""" (csv format)
Namespace:
Omada.OE.Model
Assembly:
Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntaxpublic UnresolvedFilterExpression(
string property,
ExpInnerOperator operatr,
string filterValue,
string path = null
)
Parameters
- property
- Type: SystemString
- operatr
- Type: Omada.OE.Model.PublicExpInnerOperator
- filterValue
- Type: SystemString
- path (Optional)
- Type: SystemString
See Also