Click or drag to resize

UnresolvedFilterExpression Constructor (FixedField, 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
Syntax
C#
public UnresolvedFilterExpression(
	FixedField property,
	ExpInnerOperator operatr,
	Object filterValue,
	string path = null
)

Parameters

property
Type: Omada.OE.ModelFixedField
The following fixed fields are allowed: CreateTime (DateTime field) CreatedBy (Id-reference field for a User) ChangeTime (DateTime field) ChangedBy (Id-reference field for a User) Number (Integer field) Type (Id-reference field for a DataObjectType) UserName (String field) Id (Id-reference field for a DataObject) ActivityState (String field) ProcessState (String field) Template (Boolean field) Inactive (Boolean field) DisplayName (String field)
operatr
Type: Omada.OE.Model.PublicExpInnerOperator
Depending on the field's data type different operators are allowed: > DateTime field : { LessThan, LessThanEq, GtThan, GtThanEq } Integer field : { Equals, NotEquals, LessThan, LessThanEq, GtThan, GtThanEq } Id-reference field : { Equals, NotEquals, In, NotIn } ('Equals' and 'In' are identical and so are 'NotEquals' and 'NotIn') String field : { Equals, NotEquals, Like } Boolean field : { Equals, NotEquals } Enum field : { Equals, NotEquals, In, NotIn } ('Equals' and 'In' are identical and so are 'NotEquals' and 'NotIn')
filterValue
Type: SystemObject
Depending on the field's data type different data types are allowed: > DateTime field : { DateTime, string (xml format) (*1) } Integer field : { int, IEnumerable<int>, string (on the format "123") (*1) } Id-reference field : { int, IEnumerable<int>, Guid, IEnumerable<Guid>, string (comma delimited integer or guid ids) (*1) } String field : { string } Boolean field : { bool, string ("True" or "False") (*1) } Enum field : { int, IEnumerable<int>, string (comma delimited string representations of the enum values) (*1) } (*1) the constructor converts a string-representation to a more appropriate data type.
path (Optional)
Type: SystemString
See Also