ValueExpressionAttributeBaseEvaluationOrder Property

Gets or sets the numeric evaluation order for this expression. Defaults to zero.

Definition

Namespace: Gemstone.Expressions.Model
Assembly: Gemstone.Expressions (in Gemstone.Expressions.dll) Version: 1.0.128 -- Release Build+cfed08c7efcabf54b006110ecd862a6bfcb7b819
public int EvaluationOrder { get; set; }

Property Value

Int32

Implements

IValueExpressionAttributeEvaluationOrder

Remarks

This is useful for providing an order of operations to evaluations of ValueExpressionAttributeBase attributes where one expression may be dependent on another. Note that properties are normally evaluated in the order in which they are defined in the class, but this is not guaranteed, using this attribute allows the order of evaluation to be changed.

When no EvaluationOrder is specified, the sort order for a property will be zero. Properties will be ordered numerically based on this value.

For any Expression value that references the this keyword, a positive evaluation order will be required.

See CreateInstanceTExpressionScope(IEnumerablePropertyInfo, TypeRegistry).

See Also