Examples

The sample show a leaf expression that will return true if the site customer zip code is equal to 4770


{
    ExpressionType ="LeafExpression",
    ObjectExpression = "Activity.SiteCustomer.ZipCode.FieldValue",
    ValueExpression="4770",
    Operator=0
}

Properties

NameDescriptionTypeAdditional information
ObjectExpression

Gets or sets the object expression, i.e. the property path into the object model. Fields on the activity object will start with "Activity", fields on a requisition line will start with "RequisitionLine" and may only specified on fields within a requisition line and finally fields on a cost line will start with "CostLine" and may only be specified on fields within a cost line.

string

None.

Operator

Gets or sets the kind of comparison that should be made between the ObjectExpression and ValueExpression.

LeafExpressionOperator

None.

ValueExpression

Gets or sets the value we should compare against. This cannot be reference to another fields, but must an actual value.

string

None.

ExpressionType

This property is common to all dynamic expressions and will return which dynamic expression type it is.

string

None.