| UnresolvedFilterExpression Constructor (BaseProperty, ExpInnerOperator, Object, String) |
Creates a validated or converted filter expression.
Namespace:
Omada.OE.Model
Assembly:
Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntaxpublic UnresolvedFilterExpression(
BaseProperty property,
ExpInnerOperator operatr,
Object filterValue,
string path = null
)
Parameters
- property
- Type: Omada.OE.ModelBaseProperty
The following types of properties are allowed:
Value w. datatype 'Text', 'Integer', 'DateTime' or 'Boolean', Set and Reference.
- operatr
- Type: Omada.OE.Model.PublicExpInnerOperator
Depending on the expression property different operators are allowed:
Value property - Text: { Equals, NotEquals, Like }
Value property - Integer: { Equals, LessThan, GtThan, LessThanEq, GtThanEq, NotEquals }
Value property - DateTime: { Equals, LessThan, GtThan, LessThanEq, GtThanEq, NotEquals }
Value property - Boolean: { Equals, NotEquals }
Set property: { Equals, NotEquals, In (works as Equals), NotIn (works as NotEquals) }
Reference property: { Equals, NotEquals, In (works as Equals), NotIn (works as NotEquals) }
- filterValue
- Type: SystemObject
Depending on the expression property different data types are allowed:
>
Value property - Text: { string }
Value property - Integer: { int, string (on the format "123") (*1) }
Value property - DateTime: { DateTime, string (xml format) (*1) }
Value property - Boolean: { bool, string ("True" or "False") (*1) }
Set property: { int, IEnumerable<int>, Guid, IEnumerable<Guid>, string (comma delimited integer-ids, guid-ids or quoted names of Set Property Values in the active user's language) (*1) }
Reference property: { int, IEnumerable<int>, Guid, IEnumerable<Guid>, string (comma delimited integer-ids, guid-ids) (*1) }
(*1) the constructor converts a string-representation to a more appropriate data type.
- path (Optional)
- Type: SystemString
See Also